Skip to content
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

column filters to allow datetime (and potentially more) #37

Open
wants to merge 3 commits into
base: 2.x
Choose a base branch
from

Conversation

ProxiBlue
Copy link

Add ability to define column filters via mysql comment block in SQL edit

@ProxiBlue
Copy link
Author

ref: #29

@peterjaap
Copy link
Contributor

@jantzenw could you take a look at this?

@jantzenw
Copy link
Collaborator

Personally I think this kind of behavior would ideally have its own, new field on the report, similar to how CleanSql reports operated in Magento 1 with its "grid_config" JSON field. That seems cleaner than having comments that need to be parsed out.

https://github.com/kalenjordan/custom-reports/blob/master/app/code/community/Clean/SqlReports/sql/Clean_SqlReports/upgrade-0.1.1-0.1.2.php#L7

https://github.com/kalenjordan/custom-reports/blob/4192e89744175c1d5ede85ec7de5b6478187784d/app/code/community/Clean/SqlReports/Block/Adminhtml/Customreport/View/Grid.php#LL87C10-L87C16

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

Successfully merging this pull request may close these issues.

3 participants