Jonathan Druart
010181a6a0
This patch adds a new type of system preference entry option: patron category. A preference with this type will show either a <select> with patron categories to choose from or a multiple-select menu for choosing one or more. This prevents possible errors from incorrect category codes being entered manually. To test, apply the patch and run the database update. - Go to Administration -> System preferences. - Test each of the updated preferences to confirm that the available options are correct and that your selections are correctly saved. - Single category selections, PatronSelfRegistrationDefaultCategory and GoogleOpenIDConnectDefaultCategory. With each of these you should see a dropdown where you can select of all the existing patron categories. - Multiple selections, OPACHoldsIfAvailableAtPickup and BatchCheckouts: These preferences should have an option for selecting one or more system preferences at once. - Test the pages affected by the updated system preferences: - With BatchCheckouts enabled, confirm that the batch checkout page is correctly limited by patron category. - Set the OPACHoldsIfAvailableAtPickup preference to "Don't allow" and select at least one patron category in the OPACHoldsIfAvailableAtPickupExceptions preference. - Log in to the OPAC as a patron whose category was not selected in the OPACHoldsIfAvailableAtPickupExceptions preference. - Try to place a hold on an item which is available at a library. - When confirming the hold, the libraries where the item is available should be disabled in the "Pick up location" dropdown. - Repeat the process as a patron whose category was selected in OPACHoldsIfAvailableAtPickupExceptions. There should be no disabled pickup locations. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> |
||
---|---|---|
.. | ||
data | ||
includes | ||
modules | ||
xslt | ||
columns.def |