Currently when creating/editing and authority, only mandatory fields are shown. This patch changes to show all subfields for the heading tag. For example in UNIMARC authorities NP show subfields of 200 : $a surname, $b firstname ...
For example in MARC21 authorities Personal Name show subfields of 100
Created attachment 159576 [details] [review] Bug 35486: When editing an authority show all subfields of the heading field Currently when creating/editing and authority, only mandatory fields are shown. This patch changes to show all subfields for the heading tag. For example in UNIMARC authorities NP show subfields of 200 : $a surname, $b firstname ... For example in MARC21 authorities Personal Name show subfields of 100 This will make cataloguing easier since heading subfields are usually filled. Test plan : 1) Use MARC21 database 2) Create a new authority type 'Personal Name' 3) In section 0 you see for example field 40 showing only mandatory subfield $a 4) Go to section 1 5) You see all subfields of field 100 because it is the heading
Is this a functional gap in the options we have for editing authority frameworks? Shouldn't we enable the option of making subfields visible or not in authority frameworks instead of hard-coding the choice?
(In reply to Owen Leonard from comment #3) > Is this a functional gap in the options we have for editing authority > frameworks? Sort of > > Shouldn't we enable the option of making subfields visible or not in > authority frameworks instead of hard-coding the choice? Indeed But this may be more work
I think the right fix here is to make the "collapsable" option available in the fameworks configuration so it matches up with the bibliographic frameworks. As the headings have many subfields a library might almost never use, showing them all by default might just give us the next bug report. The library should be able to control what is immediately visible and what is visible after clicking on the tag.
Patch works but I agree with Katrin and maybe there is a middle way so that some fields which are important are shown.
Created attachment 159834 [details] [review] Bug 35486: When editing an authority show all subfields of the heading field Currently when creating/editing and authority, only mandatory fields are shown. This patch changes to show all subfields for the heading tag. For example in UNIMARC authorities NP show subfields of 200 : $a surname, $b firstname ... For example in MARC21 authorities Personal Name show subfields of 100 This will make cataloguing easier since heading subfields are usually filled. Test plan : 1) Use MARC21 database 2) Create a new authority type 'Personal Name' 3) In section 0 you see for example field 40 showing only mandatory subfield $a 4) Go to section 1 5) You see all subfields of field 100 because it is the heading Signed-off-by: Barbara Petritsch <barbara.petritsch@wienmuseum.at>