Project

General

Profile

Actions

Feature #26642

open

Support of ActiveRecord i18n scope in query filters

Added by Dmitry Lisichkin over 6 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
I18n
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Same as in #26618.
Patch attached.


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

Related issues

Related to Redmine - Feature #26618: Support of default ActiveRecord I18n scopes in LabelledFormBuilderClosedGo MAEDA

Actions
Actions #2

Updated by Toshi MARUYAMA over 6 years ago

  • Tracker changed from Defect to Feature
  • Target version set to 4.1.0
Actions #3

Updated by Toshi MARUYAMA over 6 years ago

  • Related to Feature #26618: Support of default ActiveRecord I18n scopes in LabelledFormBuilder added
Actions #4

Updated by Seiei Miyagi almost 5 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

Actions #5

Updated by Go MAEDA almost 5 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.

Actions #6

Updated by Dmitry Lisichkin almost 3 years ago

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.

Actions

Also available in: Atom PDF