Commit 3cf4fd71 authored by Konstantin Pospelov's avatar Konstantin Pospelov Committed by Marinus Schraal

query: Simplify the favorite songs query

It seems that the favorite songs query can lead to this error in some
circumstances: "GLib.Error: tracker-db-interface-error-quark: Invalid
child (0)", which prevents the application from starting.

The fix includes a simplification in the query, which helps to
avoid the invalid child error.
parent 300cc5af
......@@ -831,7 +831,7 @@ class Query():
?as nie:url ?url .
'%(music_dir)s', nie:url(?as)
'%(music_dir)s', ?url
} ORDER BY DESC(tracker:added(?song))
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