Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23007

Improve locale handling for metadata objects in live table

    XMLWordPrintable

Details

    • Unknown

    Description

      When displaying a live table, the current implementation only retrieves pages with objects from the default translation (e.g. English). The metadata objects are shared among all translations of a wiki page, but they are stored on the default translation.

      As a result, when viewing the live table in a different locale, the page titles displayed are in the correct locale, but the underlying pages retrieved from the database are from the default translation.

      Proposed Solution:

      The database query may be modified to "join" page translations matching the current locale and filter their titles.

      Please let me know if you'd like me to modify anything.

       

      Example issue: https://forum.xwiki.org/t/awm-filter-livetable-title-per-language/16704/1

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tmwrvanessa Vanessa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: