diff options
Diffstat (limited to 'db.py')
-rw-r--r-- | db.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ class Track(Base): def search(session, *args, **kwargs): r = session.query(Track) s_or = [] - for f, n in ((Artist, 'artist'), (Track, 'title'), (Album, 'album')): + for f, n in ((Track, 'title'), (Album, 'album'), (Artist, 'artist')): if f != Track: r = r.join(f) if n in kwargs: |