Skip to content

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

Open
ProxiBlue wants to merge 3 commits into
degdigital:2.xfrom
ProxiBlue:column_filters
Open

column filters to allow datetime (and potentially more)#37
ProxiBlue wants to merge 3 commits into
degdigital:2.xfrom
ProxiBlue:column_filters

Conversation

@ProxiBlue

Copy link
Copy Markdown

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

@ProxiBlue

Copy link
Copy Markdown
Author

ref: #29

@peterjaap

Copy link
Copy Markdown
Contributor

@jantzenw could you take a look at this?

@jantzenw

Copy link
Copy Markdown
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