Koha/cataloguing
simith 339c27ca80
Bug 8643: Add important constraint to marc subfields
This fix permits to add an "Important" option to the marc structure pages.

Testing:

1) Apply the patch
2) Run updatedatabase.pl
3) Regenerate CSS
4) Define 100 as an "important" field ( Administration » MARC bibliographic framework » MARC structure ( Default Frameword) » Edit )
5) Define 100$a as an "important" subfield (Administration » MARC bibliographic framework » MARC structure (Default Frameword) » Subfield » Onglet a)
6) Edit a record to clear the field 100 (subfields are all blank)
7) Save the record.
8) Validate the following message:

A few important fields are not filled:

    * tag 100 subfield a Nom de personne in tab
    * Field 100 is important, at least one of its subfields should be filled.

Are you sure you want to save?

Sponsored by the CCSR ( http://www.ccsr.qc.ca )
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-11 14:33:29 +00:00
..
value_builder Bug 24503: fix missing use in value builder barcode_manual.pl 2020-01-24 15:18:41 +00:00
addbiblio.pl Bug 8643: Add important constraint to marc subfields 2020-02-11 14:33:29 +00:00
addbooks.pl Bug 24236: Fix pagination to use query_cgi 2020-01-23 09:01:36 +00:00
additem.pl Bug 8643: Add important constraint to marc subfields 2020-02-11 14:33:29 +00:00
editor.pl Bug 21411: Advanced cataloging editor - rancor - Allow configuration of Keyboard 2019-05-10 18:59:39 +00:00
linkitem.pl Bug 20829: Handle non-existent barcode when linking to host item 2018-06-08 09:48:11 -04:00
merge.pl Bug 18593: Move suggestions when bibliographic records are merged 2018-03-26 17:01:10 -03:00
merge_ajax.pl
moveitem.pl Bug 19809: Re-allow to call Koha::Objects::find in list context 2020-01-23 10:27:28 +00:00
plugin_launcher.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
ysearch.pl
z3950_auth_search.pl Bug 23997: Escape z3950servers.rank as it's a new MySQL 8 kw 2019-11-08 11:22:31 +00:00
z3950_search.pl Bug 19996: use Modern::Perl in cataloguing perl scripts 2018-02-05 09:45:47 -03:00