controlnumber => '@attr 1=12 "#term" ',
srchany => '@attr 1=1016 "#term" ',
stdid => '@attr 1=1007 "#term" ',
+ publicationyear => '@attr 1=31 "#term" '
};
return _build_query( $pars, $qry_build );
my $controlnumber = $input->param('controlnumber');
my $stdid = $input->param('stdid');
my $srchany = $input->param('srchany');
+my $publicationyear = $input->param('publicationyear');
my $op = $input->param('op')||'';
my $page = $input->param('current_page') || 1;
biblionumber => $biblionumber,
dewey => $dewey,
subject => $subject,
+ publicationyear => $publicationyear,
);
if ( $op ne "do_search" ) {
controlnumber => $controlnumber,
stdid => $stdid,
srchany => $srchany,
+ publicationyear => $publicationyear,
};
Z3950Search($pars, $template);
output_html_with_http_headers $input, $cookie, $template->output;
<li>
<label for="author">Author: </label> <input type="text" id="author" name="author" value="[% author | html %]" /></li>
<li>
+ <label for="publicationyear">Publication year: </label> <input type="text" id="publicationyear" name="publicationyear" value="[% publicationyear | 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>
You searched for:
[% IF ( title ) %]<em>Title: </em><span class="term">[% title | html %]</span> [% END %]
[% IF ( author ) %]<em>Author: </em><span class="term">[% author | html %]</span> [% END %]
+ [% IF ( publicationyear ) %]<em>Publication year: </em><span class="term">[% publicationyear | html %]</span> [% END %]
[% IF ( isbn ) %]<em>ISBN: </em><span class="term">[% isbn | html %]</span> [% END %]
[% IF ( issn ) %]<em>ISSN: </em><span class="term">[% issn | html %]</span> [% END %]
[% IF ( lccall ) %]<em>LC call number: </em><span class="term">[% lccall | html %]</span> [% END %]
<input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" />
<input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" />
<input type="hidden" id="author" name="author" value="[% author | html %]" />
+ <input type="hidden" id="publicationyear" name="publicationyear" value="[% publicationyear | html %]" />
<input type="hidden" id="subject" name="subject" value="[% subject | html %]" />
<input type="hidden" id="dewey" name="dewey" value="[% dewey | html %]" />
<input type="hidden" id="stdid" name="stdid" value="[% stdid | html %]" />