Fix unrecognized orderby not using the warning bag.
This commit is contained in:
parent
557f78eb02
commit
163e960bfa
1 changed files with 2 additions and 1 deletions
|
@ -629,7 +629,8 @@ class PDBPhotoMixin:
|
||||||
searchhelpers.minmax('bytes', bytes, minimums, maximums, warning_bag=warning_bag)
|
searchhelpers.minmax('bytes', bytes, minimums, maximums, warning_bag=warning_bag)
|
||||||
searchhelpers.minmax('duration', duration, minimums, maximums, warning_bag=warning_bag)
|
searchhelpers.minmax('duration', duration, minimums, maximums, warning_bag=warning_bag)
|
||||||
|
|
||||||
orderby = searchhelpers.normalize_orderby(orderby)
|
orderby = searchhelpers.normalize_orderby(orderby, warning_bag=warning_bag)
|
||||||
|
|
||||||
notnulls = set()
|
notnulls = set()
|
||||||
if extension or mimetype:
|
if extension or mimetype:
|
||||||
notnulls.add('extension')
|
notnulls.add('extension')
|
||||||
|
|
Loading…
Reference in a new issue