Lines 136-143
sub search {
Link Here
|
136 |
|
136 |
|
137 |
my $results = $searcher->store->bag->search( %$query, %$paging ); |
137 |
my $results = $searcher->store->bag->search( %$query, %$paging ); |
138 |
my $patrons = $results->hits; |
138 |
my $patrons = $results->hits; |
139 |
$iTotalRecords = $results->total; |
139 |
$iTotalDisplayRecords = $results->total; |
140 |
$iTotalDisplayRecords = $iTotalRecords; # FIXME this is wrong |
140 |
$iTotalRecords = $searcher->store->bag->count; |
141 |
|
141 |
|
142 |
# Get some information on patrons |
142 |
# Get some information on patrons |
143 |
foreach my $patron (@$patrons) { |
143 |
foreach my $patron (@$patrons) { |
144 |
- |
|
|