Bug 36720 - Going back when placing multiple holds retains prior selections
Summary: Going back when placing multiple holds retains prior selections
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-29 21:04 UTC by Jason Robb
Modified: 2024-04-29 21:04 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Robb 2024-04-29 21:04:07 UTC
In the staff client, when placing multiple holds with the checkboxes on the search results page, if you go back and make new selections after clicking 'place hold', the prior selections are still kept.

To replicate:
- Search for something with more than 2 results
- On the search results page, check two different checkboxes
- Click 'Place hold' at the top of the results
- Go back with the browser's back button
- Uncheck the previous selections, check checkboxes for two new titles
- Click 'Place hold' at the top of the results
- Search for a patron
- Notice 4 titles are listed, despite only having 2 checked

Also, going back, then clicking 'place hold' again without changing the checkboxes will cause the titles to be listed in the table of potential holds multiple times.