]> git.koha-community.org Git - koha.git/commit
Bug 10947: Fix editing the default authority type
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 22 Apr 2015 11:45:44 +0000 (13:45 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 19 May 2015 12:25:59 +0000 (09:25 -0300)
commit60403419ed1acf76af87eecb274b9beb7490ada7
treea4cc661199441c576e3a987a61c622c0f050f0dc
parentc2d63e5e4ece12323567e6631d8cd6fd1a84ee64
Bug 10947: Fix editing the default authority type

The default authority type cannot be defined.
The authtypecode is en empty string and the tests should be done on
"defined", not "exist".

Test plan:
Edit the default authority type, save it.

Note: There is no way to create an authority with an empty string, with
you deleted you won't be able to recreate it.

Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
admin/authtypes.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt