[Koha-bugs] [Bug 22284] Groups of pickup locations for holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 22 20:41:38 CEST 2019


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

--- Comment #170 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 91708
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91708&action=edit
Bug 22284: New message, new column and filter pickup locations in
reserve/request.tt

This patch adds a new message to 'Hold' column in 'Place a hold on a specific
item' table.

The message is "Cannot place hold from patrons's library". It appears when
patron's homebranch is not in item's hold group, and hold_fulfillment_policy is
set to 'holdgroup'.

This patch also adds a new column "Allowed pickup locations" that lists allowed
pickup locations per item.

Finally, the select that displays pickup locations is filtered by allowed
pickup locations, when multi_hold is not enabled

To test:
1) Apply this patch
2) In library groups add a root group and check it as hold group.
3) Add two libraries to the group
4) In circulation and fines rules, in 'Default checkout, hold and return
policy', in Hold policy change the value to 'From local hold group'
5) Search a patron from a different library than step 3, select one and click
'search to hold'
6) Search by location for items in any library of step 3
7) On any item, clic on 'Place hold for ...'
SUCCESS => when the page is loaded, in the 'Place a hold on a specific item',
you should see the message "Cannot place hold from patrons's library" in 'Hold'
column
        => You should see a new column called "Allowed pickup locations" and
the message is "Any library"
8) In circulation and fines rules, in 'Default checkout, hold and return
policy', in 'Hold policy' change the value again to 'From any library' and
change 'Hold pickup library match' to "Item's hold group"
8) Repeat steps 5 to 7
SUCCESS => when the page is loaded, you should see the "Pickup at" select
filtered by libraries in hold group
        => You should see in "Allowed pickup locations" a coma separated list
of the libraries in item's hold group
        => If biblio has an item whose control branch is not in a hold group,
you should see the control branch name in "Allowed pickup locations"
9) Sign off

Sponsored-by: VOKAL
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list