Bug 22887: Rely on unique constraint in av admin
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 26 Mar 2020 09:29:11 +0000 (10:29 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 16:24:42 +0000 (17:24 +0100)
commitd117a7d3eadbb9ce019b92e18187ed53b2ef3249
treeaf3d3f08fd6ff852fae28d2feddbf068b2d0691a
parent323e1a2a2f28881e6aed13c78df1d0a3d5069c4e
Bug 22887: Rely on unique constraint in av admin

Test plan:
Try to create 2 AV with the same code for the same category.
You should see a warning

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Lari Taskula <lari.taskula@hypernova.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
admin/authorised_values.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt