| Summary: | Cancelling holds in bulk should not need localStorage | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
| Component: | Hold requests | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | clackman, gmcharlt, tomascohen |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
| Bug Depends on: | 38295 | ||
| Bug Blocks: | |||
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.