Bug 19916: Add keyword and standard ID fields to acq external search

To test:
1 - Add an order from external source
2 - Note you don't have keyword or standard ID fields
3 - Add a catalog record from Z3950, note those fields are there
4 - Apply patch
5 - Check acq and note you do have those fields
6 - Do some searches to verify they work as expected

Signed-off-by: Maksim Sen <maksim.sen@inlibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Nick Clemens 2018-01-04 15:31:52 +00:00
parent 7fc293eec0
commit 4fcddf80d5
2 changed files with 8 additions and 2 deletions

View File

@ -42,6 +42,8 @@ my $issn = $input->param('issn');
my $lccn = $input->param('lccn');
my $lccall = $input->param('lccall');
my $subject = $input->param('subject');
my $srchany = $input->param('srchany');
my $stdid = $input->param('stdid');
my $dewey = $input->param('dewey');
my $controlnumber = $input->param('controlnumber');
my $op = $input->param('op')||'';
@ -79,6 +81,8 @@ $template->param(
biblionumber => $biblionumber,
dewey => $dewey,
subject => $subject,
srchany => $srchany,
stdid => $stdid,
);
if ( $op ne "do_search" ) {
@ -119,8 +123,8 @@ my $pars= {
subject => $subject,
lccall => $lccall,
controlnumber => $controlnumber,
stdid => 0,
srchany => 0,
stdid => $stdid,
srchany => $srchany,
};
Z3950Search($pars, $template);
output_html_with_http_headers $input, $cookie, $template->output;

View File

@ -70,7 +70,9 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
<li><label for="author">Author: </label> <input type="text" id="author" name="author" value="[% author | html %]" /></li>
<li><label for="issn">ISSN: </label> <input type="text" id="issn" name="issn" value="[% issn | html %]" /></li>
<li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
<li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li>
<li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li>
<li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li>
<li><label for="frameworkcode" >Select MARC framework:</label>
<select id="frameworkcode" name="frameworkcode" >
<option value="">Default</option>