Koha/koha-tmpl/intranet-tmpl/prog/en/modules/reports
Owen Leonard 7fb705696f Bug 24958: Remember last selected tab in SQL reports
This patch modifies the saved reports page so that it remembers, for the
duration of the browser session, the last active tab.

To test you should have multiple reports in multiple report groups.
Apply the patch and go to Reports -> Saved reports.

- Select a tab to filter the table of saved reports to a particular
  report group.
- Navigate away from the page
- Return to the save reports page. The tab you previously selected
  should be selected again.
- Restart your browser and return to the saved reports page. The tab
  should no longer be preselected.

Update: The tabs filtering JavaScript has been moved to a separate
function so that the function can be triggered by both the "create"
event (when the tabs are initialized) and the "activate" event (when a
tab is selected).

Update II: Persistence is now enable through localStorage instead of
Cookies. The localStorage item is now cleared during the logOut
function.

Update III: The logOut() function in staff-global.js is now called by
auth.tt to ensure that tabs are not remembered across sessions.

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-09-29 14:28:18 +02:00
..
csv Bug 18331: POST_CHOMP everywhere! 2017-08-15 12:17:41 -03:00
acquisitions_stats.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
bor_issues_top.tt Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
borrowers_out.tt Bug 21428: Update two-column templates with Bootstrap grid: Reports part 1 2018-10-01 23:59:34 +00:00
borrowers_stats.tt Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
cash_register_stats.tt Bug 23805: (QA follow-up) Corrections for cash_register_stats 2019-10-31 17:49:54 +00:00
cat_issues_top.tt Bug 21428: Update two-column templates with Bootstrap grid: Reports part 1 2018-10-01 23:59:34 +00:00
catalogue_out.tt Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
catalogue_stats.tt Bug 26091: Add column configuration and export options to catalog statistics report 2020-08-13 07:55:40 +02:00
convert_report.tt Bug 18667: Show a diff view of SQL reports when converting 2017-07-13 16:39:04 -03:00
dictionary.tt Bug 26111: Add "Serials" (SER) to the reports dictionnary 2020-07-31 15:06:43 +02:00
guided_reports_start.tt Bug 24958: Remember last selected tab in SQL reports 2020-09-29 14:28:18 +02:00
issues_avg_stats.tt Bug 21005: Address QA tool failures on tabs 2018-10-19 17:27:37 +00:00
issues_stats.tt Bug 21005: Missing row/column defaults cause unexpected results in report wizards 2018-10-19 17:27:36 +00:00
itemslost.tt Bug 26323: Retrieve the correct values for LOST, DAMAGED, LOC and CCODE 2020-09-28 16:09:10 +02:00
itemtypes.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
orders_by_budget.tt Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00
reports-home.tt Bug 20415: add Koha.ArePluginsEnabled Template Toolkit method 2020-03-26 11:41:54 +00:00
reserves_stats.tt Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
serials_stats.tt Bug 23444: Terminology - Use library instead of branch 2019-10-17 15:06:57 +01:00