fix for bug 2556: Overlaying records sometimes creates new record
authorJesse Weaver <jesse.weaver@liblime.com>
Sun, 14 Sep 2008 03:59:10 +0000 (22:59 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 28 Oct 2008 21:09:32 +0000 (22:09 +0100)
This makes "Try another search" in the Z39.50 search tool pass the biblionumber along, so that records are overlaid correctly.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
cataloguing/z3950_search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tmpl

index aa16706..1463e59 100755 (executable)
@@ -263,6 +263,7 @@ warn "query ".$query  if $DEBUG;
         breeding_loop => \@breeding_loop,
         server        => $servername[$k],
         numberpending => $numberpending,
+               biblionumber  => $biblionumber,
     );
     
     output_html_with_http_headers $input, $cookie, $template->output if $numberpending == 0;
index 202d9bb..97683dd 100644 (file)
@@ -109,7 +109,7 @@ $.tablesorter.addParser({
     <!-- /TMPL_LOOP --></tbody>
 </table>
     <!-- TMPL_ELSE -->
-        <p>Nothing found. <a href="/cgi-bin/koha/cataloguing/z3950_search.pl">Try another search</a>.</p>
+       <p>Nothing found. <a href="/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Try another search</a>.</p>
     <!-- /TMPL_IF -->