From 5fa4703ee00e201549a32101e592dd5f7443c03c Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 12 Nov 2007 15:41:01 -0600 Subject: [PATCH] Fix for 404 error when clicking on a reserve in circulations Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- circ/circulation.pl | 3 ++- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index a0108f865a..cba533d801 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -316,6 +316,7 @@ if ($borrowernumber) { $getreserv{author} = $getiteminfo->{'author'}; $getreserv{barcodereserv} = $getiteminfo->{'barcode'}; $getreserv{itemcallnumber} = $getiteminfo->{'itemcallnumber'}; + $getreserv{biblionumber} = $getiteminfo->{'biblionumber'}; # check if we have a waiting status for reservations if ( $num_res->{'found'} eq 'W' ) { @@ -359,7 +360,7 @@ if ($borrowernumber) { $getreserv{itemtype} = $getbibtype->{'description'}; $getreserv{author} = $getbibinfo->{'author'}; $getreserv{itemcallnumber} = '----------'; - + $getreserv{biblionumber} = $num_res->{'biblionumber'}; } push( @reservloop, \%getreserv ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl index 5e6d72ddcd..497e5e8163 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl @@ -561,7 +561,7 @@ No patron matched

Holds waiting:

    -
  • "> (), by , reserved on +
  • "> (), by , reserved on waiting at : @@ -737,7 +737,7 @@ No patron matched - "> ( ) + "> ( )
    -- 2.39.5