]> git.koha-community.org Git - koha.git/commit
Bug 25601: (bug 18928 follow-up) Fix "Unset" for "return policy for $branch"
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 May 2020 08:10:52 +0000 (10:10 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 May 2020 15:02:13 +0000 (17:02 +0200)
commitf1cc9d6b599ae423d8024fb11f3f601d57ab9963
treed55af9224363b2088e958371eb1a3cd802184afc
parent218322597e7a7104a15229e333ae7c1a917a675c
Bug 25601: (bug 18928 follow-up) Fix "Unset" for "return policy for $branch"

returnbranch has to pass an itemtype key when setting the rule (here
setting it to unlimited for any item types)

Test plan:
1. Go the "Circulation and fine rules" admin page
2. Set a rule for "Default checkout, hold and return policy"
3. Unset it
4. Select a library
5. Set a rule for "Default checkout, hold and return policy"
6. Unset it

Display should be consistent with what you selected

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
admin/smart-rules.pl