Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 26217: Move translatable strings out of templates into acq.js 2020-09-29 14:28:18 +02:00
admin Bug 26217: Move translatable strings out of templates into acq.js 2020-09-29 14:28:18 +02:00
authorities Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
basket Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
batch
catalogue Bug 25321: Move translatable strings out of strings.inc into the corresponding JavaScript 2020-09-29 14:28:18 +02:00
cataloguing Bug 25321: Remove 2 remaining occurrences of strings.inc 2020-09-29 14:28:18 +02:00
circ Bug 26243: (QA follow-up) Switch quotes to avoid translation issues 2020-09-29 14:28:18 +02:00
clubs Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
common
course_reserves Bug 26323: (follow-up) Add new cases introduced 2020-09-28 16:09:10 +02:00
errors
ill Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
installer Bug 24973: Load custom localization file 2020-08-24 12:10:53 +02:00
labels Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
mana
members Bug 26243: (QA follow-up) Switch quotes to avoid translation issues 2020-09-29 14:28:18 +02:00
offline_circ Bug 26212: Remove the use of jquery.checkboxes plugin from pending offline circulations 2020-08-18 15:45:49 +02:00
onboarding Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
patron_lists Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00
patroncards
plugins Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
pos Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
reports Bug 24958: Remember last selected tab in SQL reports 2020-09-29 14:28:18 +02:00
reserve Bug 26323: Retrieve the correct values for LOST, DAMAGED, LOC and CCODE 2020-09-28 16:09:10 +02:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
serials Bug 26256: Move translatable strings out of templates and into serials-toolbar.js 2020-09-29 14:28:18 +02:00
services
suggestion Bug 11176: Add active switch on budgets select in suggestions 2020-09-28 16:09:11 +02:00
tags Bug 26118: Move translatable strings out of tags/review.tt and into tags-review.js 2020-09-29 14:28:18 +02:00
test
tools Bug 26395: Move translatable strings out of letter.tt into letter.js 2020-09-29 14:28:18 +02:00
virtualshelves Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
about.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
auth.tt Bug 24958: Remember last selected tab in SQL reports 2020-09-29 14:28:18 +02:00
intranet-main.tt Bug 26015: Replace 2 missing occurrences 2020-08-31 16:10:25 +02:00