Let search_kwargs[orderby] give back None instead of empty list.

This commit is contained in:
voussoir 2020-09-09 12:20:49 -07:00
parent c0f24732e1
commit a79e14e120

View file

@ -704,7 +704,7 @@ class PDBPhotoMixin:
'tag_expression': giveback_tag_expression or None, 'tag_expression': giveback_tag_expression or None,
'limit': limit, 'limit': limit,
'offset': offset or None, 'offset': offset or None,
'orderby': giveback_orderby, 'orderby': giveback_orderby or None,
} }
yield parameters yield parameters