Bug 15672: (follow-up) Show descriptions instead of codes on the hold ratios report
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Mar 2016 08:48:56 +0000 (08:48 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 23 Mar 2016 21:07:04 +0000 (21:07 +0000)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
circ/reserveratios.pl

index 3cf5cd1..56c84d8 100755 (executable)
@@ -162,8 +162,8 @@ while ( my $data = $sth->fetchrow_hashref ) {
             holdingbranch_list => [split('\|', $data->{holdingbranch_list})],
             branch             => $data->{branch},
             itemcallnumber     => $data->{itemcallnumber},
-            location           => => [split('\|', $data->{l_location})],
-            itype              => => [split('\|', $data->{l_itype})],
+            location           => [split('\|', $data->{l_location})],
+            itype              => [split('\|', $data->{l_itype})],
             reservecount       => $data->{reservecount},
             itemcount          => $data->{itemcount},
             ratiocalc          => sprintf( "%.0d", $ratio_atleast1 ? ( $thisratio / $ratio ) : $thisratio ),