Lines 119-126
sub search {
Link Here
|
119 |
|
119 |
|
120 |
my $results = $searcher->store->bag->search( %$query, %$paging ); |
120 |
my $results = $searcher->store->bag->search( %$query, %$paging ); |
121 |
my $patrons = $results->hits; |
121 |
my $patrons = $results->hits; |
122 |
$iTotalRecords = $results->total; |
122 |
$iTotalDisplayRecords = $results->total; |
123 |
$iTotalDisplayRecords = $iTotalRecords; # FIXME this is wrong |
123 |
$iTotalRecords = $searcher->store->bag->count; |
124 |
|
124 |
|
125 |
# Get some information on patrons |
125 |
# Get some information on patrons |
126 |
foreach my $patron (@$patrons) { |
126 |
foreach my $patron (@$patrons) { |
127 |
- |
|
|