Actions
Feature #26642
openSupport of ActiveRecord i18n scope in query filters
Feature #26642:
Support of ActiveRecord i18n scope in query filters
Resolution:
Files
Actions
Added by Dmitry Lisichkin over 9 years ago. Updated over 5 years ago.
Files
| query_humanize.patch (1.18 KB) query_humanize.patch | Dmitry Lisichkin, 2017-08-07 09:59 | ||
| query_humanize_attribute.patch (937 Bytes) query_humanize_attribute.patch | Dmitry Lisichkin, 2021-05-13 12:37 |
I searched on GitHub, there are some plugins that uses `QueryFilter.new`, changing parameter of the initialize method may breaking these plugins.
https://github.com/search?l=Ruby&q=redmine+QueryFilter.new&type=Code
Seiei Miyagi wrote:
I searched on GitHub, there are some plugins that uses `QueryFilter.new`, changing parameter of the initialize method may breaking these plugins.
https://github.com/search?l=Ruby&q=redmine+QueryFilter.new&type=Code
Thank you for reviewing the patch. I don't think it is worthwhile to be merged if it breaks some plugins.
Removing from 4.1.0 for now.
Ok. How about this patch?
Query is a last part of redmine that use "field_*", after this patch there will be available safely way to migrate all this translations to standard I18n structure.