http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8331
Priority: P5 - low Change sponsored?: --- Bug ID: 8331 Assignee: gmcha...@gmail.com Summary: hidden field does not work accurately Severity: normal Classification: Unclassified OS: All Reporter: epietrocupo.h...@ssss.gouv.qc.ca Hardware: All Status: NEW Version: rel_3_6 Component: MARC Bibliographic data support Product: Koha There is this bug that seem similar http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1756 But it does not seem to solve my problem. The hidden field does not hide what it should hide. The first problem is the documentation which is simply illogical if it's a simple bitfield: --------------------------------------- 9 => Future use -8 => Flag -7 => OPAC !Intranet !Editor Collapsed -6 => OPAC Intranet !Editor !Collapsed -5 => OPAC Intranet !Editor Collapsed -4 => OPAC !Intranet !Editor !Collapsed -3 => OPAC !Intranet Editor Collapsed -2 => OPAC !Intranet Editor !Collapsed -1 => OPAC Intranet Editor Collapsed 0 => OPAC Intranet Editor !Collapsed 1 => !OPAC Intranet Editor Collapsed 2 => !OPAC !Intranet Editor !Collapsed 3 => !OPAC !Intranet Editor Collapsed 4 => !OPAC Intranet Editor !Collapsed 5 => !OPAC !Intranet !Editor Collapsed 6 => !OPAC Intranet !Editor !Collapsed 7 => !OPAC Intranet !Editor Collapsed 8 => !OPAC !Intranet !Editor !Collapsed 9 => Future use --------------------------------------- If you try to find the binary pattern in this you will not be able to do it. For example, I found that the 3rd bit ( value 4 ) trigers the display in the editor. According to the table above, 4 does not trigger it, but 5 does. But 5 is a combination of 4 and 1, so if 5 does, than 4 should block it too since 1 since used for collapsing. According to my tests: Bit 1 (value 1): Trigger the collapsing Bit 2 (value 2): does nothing Bit 3 (value 4): Hide the field from the editor Bit 4 (value 8): does nothing Sign Bit (+/-): does nothing Which leave the following options not working: Hide in OPAC Hide in Intranet I tried it with field 590 and field 300 which both are shown in OPAC and intranet. I was wondering if there could be something else that could override the the hidden field. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/