Bug 13482: Sent biblionumber to the template
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 22 Apr 2015 07:55:55 +0000 (09:55 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 22 Apr 2015 19:32:17 +0000 (16:32 -0300)
The biblionumber is sent to the template as 'itembiblionumber' at 1 place, the template get the 'biblionumber' variable.
I don't understand why but the easy way is to sent the variable twice.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
circ/returns.pl

index 812b795..8b70e1a 100755 (executable)
@@ -278,6 +278,7 @@ if ($barcode) {
         itemtype         => $biblio->{'itemtype'},
         ccode            => $biblio->{'ccode'},
         itembiblionumber => $biblio->{'biblionumber'},
+        biblionumber     => $biblio->{'biblionumber'},
         borrower         => $borrower,
         additional_materials => $biblio->{'materials'},
     );