Commit 3cfb40d9 authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

[query] return sorted list for objects

parent fde5c50f
......@@ -246,4 +246,7 @@ class Database(bob.db.base.SQLiteDatabase):
q = q.order_by(File.client_id)
retval += list(q)
return list(set(retval)) # To remove duplicates
# remove duplicates and sort the list
rv = list(set(retval))
return rv
Supports Markdown
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