Bug 28166: Optionally add MARC fields to authority search
authorMark Hofstetter <mark@hofstetter.at>
Mon, 27 Mar 2023 10:09:32 +0000 (12:09 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 23 Oct 2023 14:33:49 +0000 (11:33 -0300)
commit1e1616b993047fbaf0ee838a0049de03b16dbde6
tree221538951480961e53a074f36aa17fad90f30f80
parent933c779b7d49525a561070dd8d60941f5f000c06
Bug 28166: Optionally add MARC fields to authority search

adds the same feature to Authority Search as in the "normal" Z39.50 search, to display
arbitrary marc fields in the search results

1. apply patch
2. go to System preferences->Authorities preferences
3. the new option "AdditionalFieldsInZ3950ResultAuthSearch" shows up
4. enter the additional field numbers you want to see eg '001'
5. make an "Authority" search via Z39.50
6. the new new column "Additional fields" will display
7. sign off ;-)

Sponsored-by: Steiermärkische Landesbibliothek
Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Clemens Tubach <clemens.tubach@kit.edu>
Bug 28166: Removed comments and _add_rowdata

Bug 28166: (follow-up) Restore custom fields for biblios

To test:
1 - Add "245$a" to AdditionalFieldsInZ3950ResultSearch preference
2 - Cataloging -> new from z3950
3 - Search and see results have 'additional fields' including the title
4 - Apply other patches
5 - Restart all
6 - Repeat Z39 Additional fields are now blank
7 - Apply thi patch, restart all
8 - Repeat Z39 search. Additional fields are restored

Bug 28166: (QA follow-up) Fix rebase issue

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Breeding.pm
installer/data/mysql/atomicupdate/bug_28166.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/authorities.pref
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt