kopia lustrzana https://github.com/wagtail/wagtail
fix comment
rodzic
f1df1f2736
commit
fefe7cbc29
|
@ -85,7 +85,7 @@ class OrderingFilter(BaseFilterBackend):
|
|||
|
||||
order_by_list = order_param.split(",")
|
||||
|
||||
# Handle the random ordering separately
|
||||
# Handle random ordering separately
|
||||
if "random" in order_by_list:
|
||||
if len(order_by_list) > 1:
|
||||
raise BadRequestError(
|
||||
|
|
Ładowanie…
Reference in New Issue