To create the list 'Holds to pull' we must enter the branch and the location at the bottom of the page. It is possible to store in memory the informations(branch, location) that we have chosen; We don't want enter the same informations each time we refreh the screen
Fridolyn, are you working on this? I would think it would make sense to either have the user select a library before displaying the results or filter by default on the logged-in user's branch. Then you could offer a non-JavaScript filter in the sidebar if the user wanted to resubmit with a different library selection (or to show all libraries).
(In reply to Owen Leonard from comment #1) I'm not working on it yet. > you could offer a non-JavaScript filter in the sidebar Yes, good idea, with a GET form to allow the bookmarking of the URL.
Created attachment 22019 [details] [review] Bug 8074 - Define default library for holds to pull report Modified the BIG SQL in pendingreserves.pl to limit the hold requests shown by the items.holdingbranch. The behaviour mimics IndependentBranches behaviour. Also added a branch picker to circ/pendingreserves.tt with an optional Show all requests-option. Changed the form from post to get so librarians can bookmark the page. Made stuff localizable!
xxxxxxxxxxxxxxxxxxxxxx xxxxx TEST CASES xxxxx xxxxxxxxxxxxxxxxxxxxxx No prerequisites By default the requested list is calculated based on the current staff client branch set. (Circulation -> Set Library) xxxxxxxxxxxxxxxxxxxxxx cgi-bin/koha/circ/pendingreserves.pl xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx TEST CASE1: 1. Change branch limiter from the select-list. 2. Clear the date fields, "Start date" and "End date". 3. Press "Submit". 4. Enjoy! 5. Bookmark the url. If Date-fields are empty, defaults are calculated and url can be reused on some future day. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx TEST CASE2: 1. Select the "Show all requests". 2. Submit. 3. Behold all holds pull requests across all branches. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sponsored by the Joensuu Regional library. Sorry for stealing this bug, but it was so easy to fix and our librarian is complaining about this issue, so I needed to get it solved asap to convince our team that Koha is superior! :)
(In reply to Olli-Antti Kivilahti from comment #5) > Sorry for stealing this bug Your welcome. Who provides a patch as priority ;)
I think this patch has the potential to cause a bit of confusion. The holds to pull table has a branch filter already, and this adds a second branch filter. I think it would be better to utilize the existing branch filter. You will need to trigger it via javascript, either during the generation of the datatable if possible, or after the datatable has been created if not.
Oops.
*** Bug 6809 has been marked as a duplicate of this bug. ***
Still valid?