-
Notifications
You must be signed in to change notification settings - Fork 0
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
Can't filter & sort column with enum type #17
Comments
Which database backend is this on? A workaround is to insert a formula field (Insert Calculated Field Before) and enter |
I'm using PostgreSQL |
Thanks! |
The fix for this issue on PostgreSQL connections will be in the next Ultorg release; thank you for reporting! Tables with enums are now also part of the automated tests that run before each Ultorg release. On MySQL, enums seemed to work already, but I added some extra code to the MySQL dialect handler to cast them to CHAR e.g. before using them in an ORDER BY clause (to ensure alphabetic rather than index order). Oracle, Microsoft SQL Server, SQLite, and Presto/Athena do not have a dedicated enum type, and so are not affected. |
Hi, Michael. There's a new Ultorg release up now, at the old download link, which fixes this bug. Thanks for reporting! |
Example of enum:
Here's the error message on filter:
The text was updated successfully, but these errors were encountered: