Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-444

Column selector (picker) doesn't remember multilingual column position

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.3-B1
    • Component/s: Admin Interfaces
    • Labels:
      None
    • Additional information:
      Hide

      I suppose we could fix this by using this idea:

      1. in case if kMultiLanguage formatter renames grid column, then it added new option "formatter_renamed" to it's declaration
      2. when column picker identifies column position, then it should strip language prefix ("l<ID>_") from column name (only for position detection).

      Show
      I suppose we could fix this by using this idea: 1. in case if kMultiLanguage formatter renames grid column, then it added new option "formatter_renamed" to it's declaration 2. when column picker identifies column position, then it should strip language prefix ("l<ID>_") from column name (only for position detection).
    • External issue ID:
      555
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Column selector (picker) doesn't remember multilingual column position. For example we have "Subject" field, which is multilingual. We place it in grid and later kMultiLanguage formatter replaces it with "l<ID>_Subject", where <ID> is ID of current language. So at the end column picker remembers position of "l1_Subject" column. Then we change language to ID = 2. Our column becomes "l2_Subject", which is new to column picker and "l1_Subject" column is gone. This was same column, but on different language is added at the end of the list, because column picker considers it as newly added column.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: