Let search_kwargs[orderby] give back None instead of empty list.
This commit is contained in:
parent
c0f24732e1
commit
a79e14e120
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue