Bug 34066: Datatable options don't fully translate on list of saved reports
authorOwen Leonard <oleonard@myacpl.org>
Wed, 21 Jun 2023 13:30:57 +0000 (13:30 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 30 Aug 2023 20:24:12 +0000 (10:24 -1000)
commit12969850e8d2b89896c1dde4bbab728b3700e4e2
tree49455ac0d7257681932003aaf9b7a3eee994914a
parent3fa6983a5380cf3703def68989f6f81019e315ae
Bug 34066: Datatable options don't fully translate on list of saved reports

This patch corrects the DataTable option for defining an alternate
language string when no records are returned by a table filter. An
obsolete version of the option name was breaking the existing custom
option supplied by our datatables.js

To test, apply the patch and go to Reports -> Use saved..

 - In the DataTable of existing reports, all the DataTable controls
   should look correct.
 - In the filter field at the top of the table, enter a string which
   will not be found. You should see a message, "No matching reports
   found."
 - Install another language if necessary, and switch to that language.
 - The labels on all the DataTable controls should show the terms which
   have been translated for that language.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e26d7c783eb8c70d318e402e3a90930afcff44cd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt