Fixing broken next and previous links in the bottom row of the search results table
authoroleonard <oleonard>
Wed, 19 May 2004 16:00:40 +0000 (16:00 +0000)
committeroleonard <oleonard>
Wed, 19 May 2004 16:00:40 +0000 (16:00 +0000)
koha-tmpl/opac-tmpl/css/en/opac-searchresults.tmpl

index 380b7aa..e811fee 100644 (file)
@@ -76,7 +76,7 @@
                <tr>
                        <th align="left">
                                <!-- TMPL_IF NAME="displayprev" -->
-                                       <a class="results" href="/cgi-bin/koha/opac-searchresults.pl?startfrom=<!-- TMPL_VAR NAME="prevstartfrom" --><!-- TMPL_LOOP NAME=FORMINPUTS -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->">&lt;&lt;&lt; Previous</a>
+                                       <a class="results" href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE="URL" -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">&lt;&lt;&lt;Previous</a>
                                <!-- TMPL_ELSE -->
                                        &nbsp;
                                <!-- /TMPL_IF -->
@@ -84,7 +84,7 @@
                        <th colspan="3">&nbsp;</th>
                        <th colspan="2" align="right">
                                <!-- TMPL_IF NAME="displaynext" -->
-                                       <a class="results" href="/cgi-bin/koha/opac-searchresults.pl?startfrom=<!-- TMPL_VAR NAME="nextstartfrom" --><!-- TMPL_LOOP NAME=FORMINPUTS -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->">Next &gt;&gt;&gt;</a>
+                                       <a class="results" href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">Next &gt;&gt;&gt;</a>
                                <!-- TMPL_ELSE -->
                                        &nbsp;
                                <!-- /TMPL_IF -->