https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44284 --- Comment #1 from babar junaid <babarjunaid1122@gmail.com> --- Created attachment 212595 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212595&action=edit Bug 44284: Anchor the hidden test in the staff MARC view Bug 44284: Anchor the hidden test in the staff MARC view MARCdetail.pl tested the subfield visibility with an unanchored regular expression, so -5 (OPAC, Intranet and Collapsed checked) matched "5" and the subfield was hidden in the staff interface. The same test was used for control fields and item subfields. The values hidden in the staff interface (Intranet not checked) are now matched exactly: -8, -7, -4, -3, -2, 2, 3, 5, 8. Test plan: 1. Administration > MARC bibliographic framework > BKS > 245 > subfield b: check OPAC, Intranet and Collapsed, uncheck Editor. 2. Open the MARC tab of a BKS record with a 245$b (biblionumber 1 in the sample data): 245$b is missing. 3. Apply the patch, restart Plack, reload: 245$b is shown. 4. Uncheck Intranet for 245$b (hidden = 5): it is hidden again. 5. Set the subfield back to its old settings. Sponsored-by: Koha Solutions -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.