]> git.koha-community.org Git - koha.git/commit
Bug 20074: Fix hidden value in auth_subfields_structure
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 23 Jan 2018 14:16:35 +0000 (15:16 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Feb 2018 15:11:29 +0000 (12:11 -0300)
commit42ed26660b7c8c05a66a99a1e458f303481119dd
treefbfd4a2b8c81273345f001e0ebdd183f3105f20f
parent45bb8a8225d88f43125803c0994245915cd4b3cc
Bug 20074: Fix hidden value in auth_subfields_structure

The template included an else branch where a value not equal to 0 or -5
was interpreted as 0 (Show all).
This effectively converted hidden values 1 and 8 to 0.
This patch removes that else branch.

Test plan:
Toggle a authority field between Hide all and Show all. Check what happens.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt