[datatables] Column templates work initially but are no longer applied after filtering the table or navigating through the tablepages if limit is set #860
Expected result: Template should always be applied
Observed result: Template is no longer applied after filtering the table or navigating through the tablepages
Workaround: removing |limit=3 leads to the correct result. Documentation states that
Use printout parameters only with a single or a couple of columns in the table, with an undefined or low defer-each parameter, with an undefined or low limit, and with a low datatables-pagelength for it to work properly
Suggestion: Update this to "... with an undefined limit ..."
Setup
Issue
Column templates work initially but are no longer applied after filtering the table or navigating through the tablepages if limit is set
Steps to reproduce
Create a template, e.g.
DataTableTestTemplate
with contentTemplate called with "{{{1}}}"
Create a query, e.g.
Safe the page. First collumn shows
Template called with "Item:OSW..."
as expectedType something in the table search bar or navigate to the second result page
First column shows only
Item:OSW...
=> template is no longer calledExample see: https://demo.open-semantic-lab.org/wiki/Item:OSWa59c91666913493a81ecc3539746ba4a
Expected result: Template should always be applied
Observed result: Template is no longer applied after filtering the table or navigating through the tablepages
Workaround: removing
|limit=3
leads to the correct result. Documentation states thatSuggestion: Update this to "... with an undefined limit ..."