Resolve further unit test issue with postgres

This commit is contained in:
Griatch 2019-03-23 23:34:34 +01:00
parent 64d99aaf11
commit 814bb2e8f8
2 changed files with 4 additions and 3 deletions

View file

@ -260,7 +260,7 @@ class TypedObjectManager(idmapper.manager.SharedMemoryManager):
dbmodel = self.model.__dbclass__.__name__.lower()
query = self.filter(db_tags__db_tagtype__iexact=tagtype,
db_tags__db_model__iexact=dbmodel).distinct()
db_tags__db_model__iexact=dbmodel).distinct().order_by('id')
if n_keys > 0:
# keys and/or categories given