Koha/koha-tmpl/intranet-tmpl/prog
The Minh Luong fe2e2f9400
Bug 28975: Holds queue lists can show holds from all libraries even with IndependentBranches
When using IndependentBranches, usually all branches are removed from the drop-down menus. But in the Holds Queue page, there is the possibility to choose "All branches". From there, you can see holds from all libraries.

To recreate :
1) Activate IndependentBranches, IndependentBranchesPatronModifications and IndependentBranchesTransfers
2) Create a staff user with limited permissions (NOT a superlibrarian), including holds permissions. Here are mine as an example
  - circulate (all)
  - catalogue
  - borrowers
    - delete_borrowers
    - edit_borrowers
  - reserveforothers (all)
  - reports (all)
3) Create (or make sure you already have) a patron in another branch (we'll call them patron X)
4) Place a hold for patron X on an available item from their own library
5) Run misc/cronjobs/holds/build_holds_queue.pl
6) Go to Circulation > Holds queue and make sure you can see the hold
7) Log in as your limited staff patron
8) Go to Circulation > Holds queue
9) In the drop-down menu, choose "All" and click Submit
-- Notice you see the hold of the patron from another branch under Patron
column: "A patron from library <library name>"
11) Apply the patch.
12) Notice that the "All" option is no longer available for the limited patron. Limited patrons can't see holds from other libraries anymore.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-12-07 14:26:20 -03:00
..
css Bug 28235: Correct CSS governing max width of custom cover images 2022-12-07 11:36:54 -03:00
en Bug 28975: Holds queue lists can show holds from all libraries even with IndependentBranches 2022-12-07 14:26:20 -03:00
img Bug 30952: Change circulation home page links to buttons 2022-10-12 16:14:03 -03:00
js Bug 32261: Patron autocomplete - do not empty text field 2022-12-07 11:36:53 -03:00
pdf Bug 31257: Add a new English 1 page layout to export basketgroup 2022-10-11 10:44:10 -03:00
sound