[Koha-bugs] [Bug 8643] Add important constraint to MARC tags and subfields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 11 13:19:31 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8643

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #98607|0                           |1
        is obsolete|                            |
  Attachment #98608|0                           |1
        is obsolete|                            |

--- Comment #96 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 98702
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98702&action=edit
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 at gmail.com>
Tested on update and new install, works as described.
No errors.

Signed-off-by: David Nind <david at davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Amended-patch: Remove the schema change

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list