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)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 18 Jul 2023 11:23:55 +0000 (11:23 +0000)
commit8a69164c5b537a635dd1604b7722a8b29c85951d
treec50fb57a144e1e57d1d12bd7eadd9060c1711c6f
parent99239d0f7e02bbdfb77b00638cb298f984e01859
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>
(cherry picked from commit 87864a5ccf03ae2c7499fb22c1884e6bedcd9aaf)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt