Feature #26642
Support of ActiveRecord i18n scope in query filters
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | I18n | |||
Target version: | Candidate for next major release | |||
Resolution: |
Related issues
History
#1
Updated by Dmitry Lisichkin almost 5 years ago
- File query_humanize.patch
added
#2
Updated by Toshi MARUYAMA almost 5 years ago
- Tracker changed from Defect to Feature
- Target version set to 4.1.0
#3
Updated by Toshi MARUYAMA almost 5 years ago
- Related to Feature #26618: Support of default ActiveRecord I18n scopes in LabelledFormBuilder added
#4
Updated by Seiei Miyagi about 3 years ago
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
#5
Updated by Go MAEDA about 3 years ago
- Target version changed from 4.1.0 to Candidate for next major release
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.
#6
Updated by Dmitry Lisichkin about 1 year ago
- File query_humanize_attribute.patch
added
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.