|
Lines 52-58
my ($template, $borrowernumber, $cookie)
Link Here
|
| 52 |
}); |
52 |
}); |
| 53 |
my $dbh = C4::Context->dbh; |
53 |
my $dbh = C4::Context->dbh; |
| 54 |
# Displaying results |
54 |
# Displaying results |
| 55 |
my $limit = $input->param('limit') || 10; |
55 |
my $limit = $input->param('limit'); |
|
|
56 |
$limit = 10 unless ($limit && $limit =~ /^\d+$/); # control user input for SQL query |
| 57 |
$limit = 100 if $limit > 100; |
| 56 |
my $branch = $input->param('branch') || ''; |
58 |
my $branch = $input->param('branch') || ''; |
| 57 |
my $itemtype = $input->param('itemtype') || ''; |
59 |
my $itemtype = $input->param('itemtype') || ''; |
| 58 |
my $timeLimit = $input->param('timeLimit') || 3; |
60 |
my $timeLimit = $input->param('timeLimit') || 3; |
| 59 |
- |
|
|