@@ -, +, @@ from placing holds in other libraries ---> In 'Patrons > + New patron > Staff', fill the required fields, add a username and password. ---> Remember the home library. ---> Click the 'Save' button. ---> In the patron detail page, click on 'More > Set permissions' and check the following boxes: ---> Click the 'Save' button. ---> In 'Cataloging > + New record', fill the required fields. ---> Click the 'Save' button. ---> You should now be in the item form. Fill the required field (home library and current library should be the same as the patron's home library). ---> Click the 'Add item' button. ---> In the 'Pickup at' field, you should see all the libraries. ---> In the 'Allowed pickup locations' column of the item, you should see the same. ---> In the 'Pickup at' field, you should only see the home library of the item. ---> In the 'Allowed pickup locations' column of the item, you should see the same. --- Koha/Item.pm | 2 ++ 1 file changed, 2 insertions(+) --- a/Koha/Item.pm +++ a/Koha/Item.pm @@ -948,6 +948,8 @@ is not passed. sub pickup_locations { my ($self, $params) = @_; + return Koha::Libraries->search( { branchcode => $self->holdingbranch } ) if C4::Context->preference("IndependentBranches") && !C4::Context->IsSuperLibrarian(); + Koha::Exceptions::MissingParameter->throw( parameter => 'patron' ) unless exists $params->{patron}; --