Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Unable to find column after sort by ALIAS field #68

Open
benhaynes opened this issue Oct 25, 2018 · 0 comments
Open

Unable to find column after sort by ALIAS field #68

benhaynes opened this issue Oct 25, 2018 · 0 comments
Labels

Comments

@benhaynes
Copy link
Sponsor Member

From directus created by RadioSchattenwelt : directus/directus#2184

For security issues, please email support@getdirectus.com directly.

To help us resolve your issue more quickly, please use the following template:

For feature requests/voting please use the Directus Request Tool, or come chat with us through getdirectus.com. Accepted feature requests will be added to GitHub Issues for assignment.

Version Info

  • Directus version and branch (Or commit hash): 6.4.9 downloaded from release page
  • PHP version: 5.6.33
  • MySQL version: ?
  • Web server: (Ex. Apache, nginx or IIS?) ?
  • OS name and version: ?

Expected Behavior

You should be able to sort the items in the table view by each column you like.

Actual Behavior

If you try to sort the table entries by a ALIAS field from m2m relation you get the error "unable to find column X". From this moment on you are unable to access the table.

Steps to Reproduce

  1. Create a table with m2m relationship
  2. Try to sort the table view by the m2m ALIAS field

Schema Dump, Logs, or Screenshots

image
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant