]> git.koha-community.org Git - koha.git/commit
Bug 18203: Add per borrower category restrictions on placing ILL requests
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Wed, 12 Jul 2023 09:19:15 +0000 (09:19 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 1 Nov 2023 21:01:39 +0000 (18:01 -0300)
commit13720defdda83e00e2633051c14a887ffbe56ca0
tree6b193be663cb61b91c86eb111e2f93c1fc004fd6
parent0780ae325d06ffb7eacd14a412e8c1c9a16aaaec
Bug 18203: Add per borrower category restrictions on placing ILL requests

    Test Plan:
    - Enable ILLModule sys pref and install any backend, or run
    bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)
    - Verify you can place new ILL requests in OPAC and Intranet
    - Apply patch
    - In borrower categories, verify there's a new column for 'can place ILL in opac' and is set to 'yes' by default
    - Edit your borrower's patron category and set 'can place ILL in opac' to 'No'
    - Verify you can no longer place new ILL requests in OPAC
    - Verify you also cannot place new ILL requests through URL:
    :8080/cgi-bin/koha/opac-illrequests.pl?method=create&backend=FreeForm

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/categories.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt
opac/opac-illrequests.pl