You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
MySQL version: mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using EditLine wrapper
Web server: (Ex. Apache, nginx or IIS?): nginx version: nginx/1.14.0 (Ubuntu)
OS name and version: Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-33-generic x86_64)
Expected Behavior
When adding M2M relation you should be able to sort by number of related items.
Actual Behavior
After sorting by M2M field you get an error saying that field is invalid and you no longer have access to collection's browse page because sorting is saved in directus_collection_presets.view_query.
Steps to Reproduce
Add M2M relation
Make field visible on browse
Try to sort by that field
Schema Dump, Logs, or Screenshots
{"error":{"code":202,"message":"Invalid field "favorites""}}
Version Info
Expected Behavior
When adding M2M relation you should be able to sort by number of related items.
Actual Behavior
After sorting by M2M field you get an error saying that field is invalid and you no longer have access to collection's browse page because sorting is saved in directus_collection_presets.view_query.
Steps to Reproduce
Schema Dump, Logs, or Screenshots
{"error":{"code":202,"message":"Invalid field "favorites""}}
Originally posted by @shota-mentesh as directus/directus#2218
The text was updated successfully, but these errors were encountered: