Hi. I’m maintaining a multi-language XWiki.
As I try to create a FAQ with the AppWithinMinutes extension, I came to notice a little problem with the functionality of the live table filter.
I try to filter by the page title. In the original language it works fine and shows the correct results. But in the translated version, it seems that the filter will not use the translated titles.
An example for better understanding.
-
Live table space: FAQ
** Original document language: EN
** Translation: DE -
An entry with the page reference: Can-I-delete-chats.WebHome
** Original document language: EN / Original title: Can I delete chats
** Translation: DE / Translation title: Kann ich Chats löschen
Now it behaves like this:
- In the EN version, I filter titles for “can”. The table will show “Can I delete chats”.
- In the DE version, I filter titles for “kann”. The table won’t show any entries as result.
- In the DE version, I filter titles for “can”. The table will show “Kann ich Chats löschen”.
This is the current live table (it’s the default from AWM). “Topic” is a checkbox attribute which should not matter here.
{{velocity}}
#set ($columnsProperties = {
'doc.title': {"link":"view"},
'Topic': {},
'_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
})
#set ($options = {
'className': 'Public.FAQ.Code.FAQClass',
'translationPrefix': 'faq.livetable.',
'tagCloud': true,
'rowCount': 15,
'maxPages': 10,
'selectedColumn': 'doc.title',
'defaultOrder': 'asc'
})
#set ($columns = ['doc.title', 'Topic', '_actions'])
#livetable('faq' $columns $columnsProperties $options)
{{/velocity}}
Can you help me out? Or can you confirm that multi-language is not working with the live table filter? Any workarounds or best practices?
Thank you in advance for your help.