From b39910f15aad2d0cb83e9520ec736a3234abaffc Mon Sep 17 00:00:00 2001
From: Garry Collum
+ | &category=&batch_id=&type=&orderby=cardnumber">Card | &category=&batch_id=&type=&orderby=surname">Name | &category=&batch_id=&type=&orderby=borrowers.categorycode">Category | @@ -110,7 +110,11 @@ function add_item3(borrowernumber){||
---|---|---|---|---|---|
" value="" /> | ">, |
diff --git a/labels/pcard-member-search.pl b/labels/pcard-member-search.pl
index 5620a547b1..1ff5cf1bb0 100755
--- a/labels/pcard-member-search.pl
+++ b/labels/pcard-member-search.pl
@@ -95,14 +95,12 @@ else
my @resultsdata;
-my $toggle = 0;
my $to=($count>($startfrom*$resultsperpage)?$startfrom*$resultsperpage:$count);
for (my $i=($startfrom-1)*$resultsperpage; $i < $to; $i++){
#find out stats
my ($od,$issue,$fines)=GetMemberIssuesAndFines($results->[$i]{'borrowernumber'});
my %row = (
- toggle => $toggle,
count => $i+1,
borrowernumber => $results->[$i]{'borrowernumber'},
cardnumber => $results->[$i]{'cardnumber'},
@@ -125,7 +123,6 @@ for (my $i=($startfrom-1)*$resultsperpage; $i < $to; $i++){
sort2 => $results->[$i]{'sort2'},
dateexpiry => C4::Dates->new($results->[$i]{'dateexpiry'},'iso')->output('syspref'),
);
- if ( $toggle ) { $toggle = 0; } else {$toggle = 1; }
push(@resultsdata, \%row);
}
my $base_url =
--
2.39.5