]> git.koha-community.org Git - koha.git/commit
Bug 12747: Add extra column in Z3950 search
authorDavid Bourgault <dav.bour@gmail.com>
Fri, 4 May 2018 19:38:11 +0000 (15:38 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 1 Oct 2018 13:56:26 +0000 (13:56 +0000)
commitf6e86dc0cab2bcd4e8477f639fd600d27d387180
tree5d27dac9e567e780a4aa235c3960e948f250b14c
parente81756b317da848a6e6346a7c0db8f3b986f7058
Bug 12747: Add extra column in Z3950 search

This patch makes it possible to add an extra column to Z3950 search results.
The system preference AdditionalFieldsInZ3950ResultSearch decides which MARC field/subfields are displayed in the column.

Testing:

I Apply the patch
II Run updatedatabase.pl

ACQUISITIONS
0) Enter a field/subfield in the AdditionalFieldsInZ3950ResultSearch
1) Create a new basket or use an existing one
2) In -Add order to basket-, click "From an external source"
3) Select some search targets and enter a subject heading ex. house
4) Click Search bouton
5) Validate "Additional fields" column with the field/subfield value.

CATALOGUING
0) Shares same syspref as above
1) Go to cataloguing, click New from z3950
2) Fill to result in a successful search
3) Validate column Addition Fields

prove t/db_dependent/Breeding.t

Sponsored-by: CCSR (https://ccsr.qc.ca)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Breeding.pm
installer/data/mysql/atomicupdate/bug_12747-additional_fields_in_Z3950_search_result.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt
t/db_dependent/Breeding.t [changed mode: 0644->0755]