Bug 21548: ILLLIBS patron category / partner_code seems extraneous
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 7 Feb 2023 14:48:02 +0000 (14:48 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 31 Mar 2023 10:14:51 +0000 (12:14 +0200)
commit2799cac081c08a260f67e643cbc8e0d640d25d4c
tree76ecf156a4572e5dd07bddebbd7aa5272b233d94
parentb6f9241d66b8a857dba51d747cb8fb67d2115433
Bug 21548: ILLLIBS patron category / partner_code seems extraneous

This patch updates the default partner category used by the partner_code config to be in line with sample data in sample_patrons.yml

Preparation:
Apply patch
Enable ILLModule sys pref
Install an ILL backend (e.g. FreeForm)
Add this change to your koha-conf.xml
Flush, restart.
Search for patron of category inter-library loan and assign a primary e-mail address to it

Test plan:
Create an ILL request and click 'place request with partners'
Verify that the 'select partner libraries' has the correct patron of IL category

Run tests and ensure they pass:
prove t/db_dependent/Illrequest/Config.t
prove t/Koha/Config.t

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Illrequest/Config.pm
debian/templates/koha-conf-site.xml.in
etc/koha-conf.xml
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
t/Koha/Config.t
t/data/koha-conf.xml
t/db_dependent/Illrequest/Config.t