Commit f4ff29fb authored by Marinus Schraal's avatar Marinus Schraal

query: Make songs query less strict

The songs query was as strict as the albums and artists queries when it
came to tags being provided.

Make it less strict, so users can see and search all of their indexed
songs, even without the proper tags.
parent 57021b54
......@@ -208,9 +208,6 @@ class Query():
{
%(where_clause)s
?song a nmm:MusicPiece ;
nmm:musicAlbumDisc ?disc ;
nmm:musicAlbum ?album ;
nmm:performer ?performer ;
nie:url ?url .
OPTIONAL { ?song nao:hasTag ?tag .
FILTER (?tag = nao:predefined-tag-favorite) } .
......
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