New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot specify order
for admin API page results when using for_explorer
#11859
Comments
order
for admin API page results when using for_explorer
Thanks for the report @maya413! I can confirm I'm seeing the same issue when testing against bakerydemo: http://localhost:8000/admin/api/main/pages/?child_of=1&for_explorer=1&fields=parent returns results It looks like this is because the The admin API isn't really intended to be used outside of Wagtail's own code, but I'll accept this as a legitimate bug. |
when i get sidebar pages use below url :
api/main/pages/?child_of=4&for_explorer=1&fields=parent&order=-id
response is : filtering by for_explorer without child_of is not supported
but when i get sidebar pages use below url :
api/main/pages/?child_of=4&for_explorer=1&fields=parent
response is fine,
The text was updated successfully, but these errors were encountered: