Bug 33578: Fix patron restriction types edition
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 10 May 2023 09:21:19 +0000 (11:21 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Jul 2023 13:52:08 +0000 (14:52 +0100)
commit87864a5ccf03ae2c7499fb22c1884e6bedcd9aaf
tree6326783870a24ec2554cfa4d3a8f40d3d676cb86
parentd53d0f653787ad533cab12847db8c11b9faabb91
Bug 33578: Fix patron restriction types edition

When editing an existing patron restriction type you'll always get an error on saving:

Label is already in use

To test:
* Activate use of patron restriction types
* Edit any of the system types
* Create new ones

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9e32945f208fa16c773dfc0867754649fcf820ca)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt