Created attachment 130761 [details] [review] Bug 30122: Display note fields in authority result list The note fields are displayed for UNIMARC only. Test plan: Add some note fields to an authority record, search for it and confirm that the notes are now display in the authority result list Sponsored-by: Orex Digital
Do we really need this?
How and where are the note fields added?
(In reply to Katrin Fischer from comment #3) > How and where are the note fields added? The "notes" are retrieved from BuildSummary using 600 (for MARC21) 1015 foreach my $field ($record->field('6..')) { 1016 push @notes, { note => $field->as_string(), field => $field->tag() }; 1017 } They are added at the bottom of the other authority's summary info.
I am not sure about this one, it looks like actual notes are only 667-688. I wonder if it could not make the entries in the results list a little too lenghty. But I see that there is a class to hide. How are we doing performance wise here?
Meant to add the link as well: https://www.loc.gov/marc/authority/ad66768x.html
(In reply to Katrin Fischer from comment #5) > I am not sure about this one, it looks like actual notes are only 667-688. It's the current that is retrieving 6.. I need to check if it's used somewhere else. > I wonder if it could not make the entries in the results list a little too > lenghty. But I see that there is a class to hide. Could be a syspref otherwise. > How are we doing performance wise here? No change is done in the logic, we retrieve them (but don't use them) already. Will get back to it later.
I think that it is necessary to be able to select what tags to publish, as there are some notes that are automatically created and not provide useful informationn, for example 667 automatica creation, it doesn't gives useful information for users syspref for selecting what to publish from notes? if none selected, publish nothing
We are displaying the notes at the OPAC, on the detail page of the authority. I think I am identifying 2 different needs here, one is to display the notes on the result page, the other one is to make configurable the notes we display. If we add a syspref to list the subfields we want to display, should it drive the behaviour for the OPAC as well?
Maybe more like a denylist? We could mimick NotesToHide used for the 5xx in bibliographic records and the OPAC.