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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Aug 2023 13:07:11 +0000 (10:07 -0300)
commite26d7c783eb8c70d318e402e3a90930afcff44cd
tree8af83318d06d46e0e7c40779dfb7631d20ffb0d0
parent60cf53cf798b16138b53d6012f083caee06941f3
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>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt