From a79e14e120665ab08a3a6ae8f4006ecc917a0051 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 9 Sep 2020 12:20:49 -0700 Subject: [PATCH] Let search_kwargs[orderby] give back None instead of empty list. --- etiquette/photodb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/photodb.py b/etiquette/photodb.py index c9be2fd..31a8904 100644 --- a/etiquette/photodb.py +++ b/etiquette/photodb.py @@ -704,7 +704,7 @@ class PDBPhotoMixin: 'tag_expression': giveback_tag_expression or None, 'limit': limit, 'offset': offset or None, - 'orderby': giveback_orderby, + 'orderby': giveback_orderby or None, } yield parameters