|
Lines 63-69
if ($input->param('borrowernumber')) {
Link Here
|
| 63 |
|
63 |
|
| 64 |
my $order = 'date_due desc'; |
64 |
my $order = 'date_due desc'; |
| 65 |
my $limit = 0; |
65 |
my $limit = 0; |
| 66 |
my $issues = GetAllIssues($borrowernumber,$order,$limit); |
66 |
my $issues = (); |
|
|
67 |
# Do not request the old issues of anonymous patron |
| 68 |
if ( $borrowernumber == C4::Context->preference('AnonymousPatron') ){ |
| 69 |
$template->param( is_anonymous => 1 ); |
| 70 |
} else { |
| 71 |
$issues = GetAllIssues($borrowernumber,$order,$limit); |
| 72 |
} |
| 67 |
|
73 |
|
| 68 |
my $branches = GetBranches(); |
74 |
my $branches = GetBranches(); |
| 69 |
foreach my $issue ( @{$issues} ) { |
75 |
foreach my $issue ( @{$issues} ) { |
| 70 |
- |
|
|