https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28022
--- Comment #2 from Thomas Klausner <[email protected]> --- Would it work if we consider the visibility of $a? i.e. change: $subfield eq "9" and exists($tagslib->{$tag}->{'a'}->{authtypecode}) and defined($tagslib->{$tag}->{'a'}->{authtypecode}) and $tagslib->{$tag}->{'a'}->{authtypecode} ne '' to something like $subfield eq "9" and is_visibile($tagslib->{$tag}->{'a'}) and exists($tagslib->{$tag}->{'a'}->{authtypecode}) and defined($tagslib->{$tag}->{'a'}->{authtypecode}) and $tagslib->{$tag}->{'a'}->{authtypecode} ne '' where is_visibile would check the value of `hidden` of $tag->{a} ? (probably this wouldn't even need to be a function, but just some bit-twiddling on `hidden`) I was going to test something like this today. But if you say that this might have implications beyond the visibility of a field in the editor, we might end up removing the authtypecode from the various fields (which feels quite wrong..) Greetings, domm -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
