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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Jun 2023 13:01:05 +0000 (10:01 -0300)
commit9e32945f208fa16c773dfc0867754649fcf820ca
tree228e1e392c0d8356d1affcb81b6f7d8a9b1a438a
parent2c6e64ba962474f5d2a109426c20256acdcd065c
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt