https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8643
David Nind <da...@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #97325|0 |1 is obsolete| | --- Comment #94 from David Nind <da...@davidnind.com> --- Created attachment 98607 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98607&action=edit Bug 8643: Add important constraint to marc subfields This enhancement adds an "Important" option to the marc structure pages. Testing: 1) Apply the patch 2) Update the database (perl installer/data/mysql/updatedatabase.pl) 3) Regenerate the staff interface CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) 4) Define 100 as an "important" field ( Administration » MARC bibliographic framework » MARC structure (Default framework) » Edit ) 5) Define 100$a as an "important" subfield (Administration » MARC bibliographic framework » MARC structure (Default framework) » Subfield » tag a) 6) Edit a record to clear the field 100 (subfields are all blank) 7) Save the record 8) Confirm that this message is displayed: A few important fields are not filled: * tag 100 subfield a Personal name in tab 1 * Field 100 is important, at least one of its subfields must be filled. Are you sure you want to save? Sponsored by the CCSR ( http://www.ccsr.qc.ca ) Signed-off-by: Bernardo Gonzalez Kriegel <bgkrie...@gmail.com> Tested on update and new install, works as described. No errors. Signed-off-by: David Nind <da...@davidnind.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/