]> git.koha-community.org Git - koha.git/commit
Bug 37354: Fix circ rule selections
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 21 Oct 2024 15:36:49 +0000 (16:36 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 8 Nov 2024 16:06:04 +0000 (17:06 +0100)
commit06bb1cb8fafd960b3a6a0a9b320dc131349ed2c7
tree066795081d8f1cc827b97f41d9f1287e1a973612
parentabc34e05f5b25d812f380be7d410f393eca465d6
Bug 37354: Fix circ rule selections

Only expose the bookings calendar picker input if we have enough detail
already defined to pick the corresponding circulation rules.

We currently use the item pickup location for selecting which rules to
apply, this corresponds to hard coding CircControl=ItemHomeLibrary +
ItemHomeOrHolding=holdingbranch for this use case. We can't easily
change this to match those rules dynamically without rethinking the 'Any
item' functionality and displays in the flatpickr.  We may revisit this
at some point in the future should that become a requirement.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/modals/place_booking.inc
koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js