https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38300

            Bug ID: 38300
           Summary: Cancelling holds in bulk should not need localStorage
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Hold requests
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

We are storing the selected holds in localStorage, we should not need that.
Once we selected and cancelled them, a fresh table (without nothing checked)
should be shown.

There is some code to reset it
251             if(!localStorage.selectedWaitingHolds ||
document.referrer.replace(/\?.*/, '') !==
document.location.origin+document.location.pathname) {
252                 localStorage.selectedWaitingHolds = '[]';
253             }

But it does not work in all situations.

I think we simply need to use a JS variable, or I am missing something.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to