Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #206 from hgq/17_03_pt19092241_4_08

17 03 pt19092241 4 08
  • Loading branch information...
commit 1804845d3d0f530d014b8f9a9cad2379dfab8492 2 parents cbd4011 + c347aaf
@ctfliblime ctfliblime authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  members/member.pl
View
3  members/member.pl
@@ -36,7 +36,7 @@
my $input = new CGI;
my $quicksearch = $input->param('quicksearch');
my $startfrom = $input->param('startfrom')||1;
-my $resultsperpage = $input->param('resultsperpage')||C4::Context->preference("PatronsPerPage")||20;
+my $resultsperpage = C4::Context->preference("PatronsPerPage")|| $input->param('resultsperpage') || 20;
my ($template, $loggedinuser, $cookie);
if($quicksearch){
@@ -192,7 +192,6 @@
else {
my $type = (length($member) == 1) ? 'simple' : 'advanced';
my $startfrom = $input->param('startfrom') // 1;
- my $resultsperpage = $input->param('resultsperpage') // 20;
my $offset = ($startfrom-1) * $resultsperpage;
my $limits
= {
Please sign in to comment.
Something went wrong with that request. Please try again.