Main Koha release repository https://koha-community.org
Find a file
Kyle M Hall 456348aba9 Bug 15532: Add ability to allow only items whose home/holding branch matches the hold's pickup branch to fill a given hold
Some libraries would like to be able to limit hold filling to items that
match the pickup library for a hold based on the item's home or holding
library. The patron's home library should not affect whether a patron
can place the hold, instead the hold will only be fillable when an item
matching the pickup location becomes available.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Note the new "Hold pickup library match" rules for "checkout, hold,
   and return policy" and for "holds policy by item type"
4) Set the policy to "item's holding library"
5) Place a hold where the item's holding branch does not match
   the pickup branch
6) Check in the item
7) Note it is not trapped for the hold
8) Update the item's holding branch to match the pickup branch
8) Check in the item
9) Note the item is trapped for the hold
10) Repeat steps 4-9 but for home branch instead

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as described

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
2016-04-29 09:49:07 +00:00
acqui Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
admin Bug 15532: Add ability to allow only items whose home/holding branch matches the hold's pickup branch to fill a given hold 2016-04-29 09:49:07 +00:00
api/v1
authorities Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
basket
C4 Bug 15532: Add ability to allow only items whose home/holding branch matches the hold's pickup branch to fill a given hold 2016-04-29 09:49:07 +00:00
catalogue Bug 16158: Move GetAuthorisedValues outside the loop 2016-04-27 16:30:01 +00:00
cataloguing Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
circ Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
course_reserves Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
debian [SIGNED-OFF] Bug 16190: Enable the indexer daemon by default 2016-04-19 17:50:17 +00:00
docs
errors
etc Bug 16222: (QA followup) Add /api dir for the API 2016-04-20 21:18:36 +00:00
install_misc Bug 16011: $VERSION - Remove the $VERSION init 2016-03-24 17:20:28 +00:00
installer Bug 15532: Add ability to allow only items whose home/holding branch matches the hold's pickup branch to fill a given hold 2016-04-29 09:49:07 +00:00
Koha Bug 16105: Do not initialize the memory cache if not needed 2016-04-29 02:50:36 +00:00
koha-tmpl Bug 15532: Add ability to allow only items whose home/holding branch matches the hold's pickup branch to fill a given hold 2016-04-29 09:49:07 +00:00
labels Bug 16154: CGI->multi_param - Assign a list 2016-04-26 23:16:43 +00:00
members Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
misc Bug 12478: abort early if there's no elasticserch definition 2016-04-26 20:20:10 +00:00
offline_circ
opac Bug 16154: CGI->multi_param - Assign a list 2016-04-26 23:16:43 +00:00
OpenILS Bug 9239 QA follow-up: remove stray debug code 2013-03-16 21:32:34 -04:00
patron_lists Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
patroncards Bug 16154: CGI->multi_param - Assign a list 2016-04-26 23:16:43 +00:00
plugins
reports Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
reserve Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
reviews Bug 14779: Cannot paginate reviews 2015-09-07 11:38:26 -03:00
rotating_collections Bug 15066: Make transfer rotating collection works under Plack 2015-11-05 09:50:09 -03:00
selenium
serials Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
services
skel
sms
suggestion Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
svc Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
t Bug 15532: Add ability to allow only items whose home/holding branch matches the hold's pickup branch to fill a given hold 2016-04-29 09:49:07 +00:00
tags Bug 16154: CGI->multi_param - Assign a list 2016-04-26 23:16:43 +00:00
test Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
tmp/modified_authorities
tools Bug 14686: [QA Follow-up] Move allows_add_by to Upload.pm 2016-04-27 16:14:18 +00:00
virtualshelves Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
xt Bug 16174: (QA followup) Fix remaining tests 2016-04-01 19:11:33 +00:00
.editorconfig
.htaccess
.mailmap
about.pl Bug 12721 - Syspref StatisticsFields: Warning on About page and text change in System preferences 2016-04-29 02:48:30 +00:00
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu
Koha.pm DBRev Bug 16217 - Notice' names may have diverged 2016-04-29 02:26:46 +00:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 16222: (QA followup) Add /api dir for the API 2016-04-20 21:18:36 +00:00
MANIFEST.SKIP
README
README.md
README.robots
rewrite-config.PL Bug 16222: (QA followup) Add /api dir for the API 2016-04-20 21:18:36 +00:00

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-comminity.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo