Browse Source

Bug 9132: Paging through OPAC authority search results does not work (followup 1) input with and_ora instread of and_or

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
3.12.x
Fridolyn SOMERS 12 years ago
committed by Jared Camins-Esakov
parent
commit
0682139bb8
  1. 2
      koha-tmpl/opac-tmpl/prog/en/includes/opac-authorities.inc
  2. 2
      koha-tmpl/opac-tmpl/prog/en/modules/opac-authorities-home.tt

2
koha-tmpl/opac-tmpl/prog/en/includes/opac-authorities.inc

@ -50,7 +50,7 @@
[% END %]
[% BLOCK authheadingdisplay %]
[% IF authid %]<a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]">[% heading %]</a>
[% ELSIF search %]<a href="/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&marclist=mainentry&and_ora=and&orderby=HeadingAsc&value=[% search %]">[% heading %]</a>
[% ELSIF search %]<a href="/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&marclist=mainentry&and_or=and&orderby=HeadingAsc&value=[% search %]">[% heading %]</a>
[% ELSE %][% heading %]
[% END %]
[% END %]

2
koha-tmpl/opac-tmpl/prog/en/modules/opac-authorities-home.tt

@ -33,7 +33,7 @@
<option value="match">in any heading</option>
<option value="mainentry">in main entry</option>
</select>
<input type="hidden" name="and_ora" value="and" />
<input type="hidden" name="and_or" value="and" />
<input type="hidden" name="excluding" value="" />
</li>
<li><label for="orderby">Order by: </label><select name="orderby" id="orderby">

Loading…
Cancel
Save