]> 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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Fri, 12 Jun 2020 03:43:03 +0000 (03:43 +0000)
commit78d930d438a89ac82fddb1b26f1795c4d831deab
tree5ad3e2f1910ea27fd4dbaa2cabfb8e7ac6cb5476
parenta43eb84800b8e744354b414e7a8220a55934ed68
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>
(cherry picked from commit f1cc9d6b599ae423d8024fb11f3f601d57ab9963)
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
admin/smart-rules.pl