GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit f80768cd authored by Marinus Schraal's avatar Marinus Schraal

query: Cleanup get_album_for* queries

Fix whitespace and remove unused title result.
parent 71f58eb3
......@@ -357,10 +357,9 @@ class Query():
}
LIMIT 1
) AS ?artist
nie:title(?album) AS ?title
nie:title(?album) AS ?album
WHERE {
?album a nmm:MusicAlbum .
?album a nmm:MusicAlbum .
FILTER (
tracker:id(?album) = %(album_id)s
)
......@@ -386,7 +385,6 @@ class Query():
}
LIMIT 1
) AS ?artist
nie:title(?album) AS ?title
nie:title(?album) AS ?album
WHERE {
?song a nmm:MusicPiece ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment