Bug 33333: Use template wrapper for tabs: SQL reports
authorOwen Leonard <oleonard@myacpl.org>
Thu, 23 Mar 2023 16:45:00 +0000 (16:45 +0000)
committerJacob O'Mara <jacobomara901@gmail.com>
Sun, 16 Apr 2023 20:41:01 +0000 (21:41 +0100)
commit6f245106f0c42a37472eca690d3988d921d623cd
treedc954fc9a4914174decf5bc6875ee27420caeddb
parente3d4c22e516bb77b8b1dc2c75a6f25b2677ae9d7
Bug 33333: Use template wrapper for tabs: SQL reports

This patch updates the saved SQL reports template so that it uses the
new WRAPPER directive to build tab markup.

To test, apply the patch and go to Reports -> Use saved. In order to
properly test the patch you should have multiple reports defined with
multiple categories ("Accounts", "Acquisitions", "Catalog", etc.).

Clicking each tab should filter the table of reports correctly.
After navigating away from the page and back to it, your selected tab
should be remembered.

Signed-off-by: Alexandra Speer <alexandra.speer@bsz-bw.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 6884b73a71cafbe82f4ee8ba19d978781ff72bf7)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt