Lines 95-100
my $forgivemanualholdsexpire = $query->param('forgivemanualholdsexpire');
Link Here
|
95 |
|
95 |
|
96 |
my $overduecharges = (C4::Context->preference('finesMode') && C4::Context->preference('finesMode') eq 'production'); |
96 |
my $overduecharges = (C4::Context->preference('finesMode') && C4::Context->preference('finesMode') eq 'production'); |
97 |
|
97 |
|
|
|
98 |
#set up so only the last 8 returned items display (make for faster loading pages) |
99 |
my $returned_counter = ( C4::Context->preference('numReturnedItemsToShow') ) ? C4::Context->preference('numReturnedItemsToShow') : 8; |
100 |
|
98 |
# Set up the item stack .... |
101 |
# Set up the item stack .... |
99 |
my %returneditems; |
102 |
my %returneditems; |
100 |
my %riduedate; |
103 |
my %riduedate; |
Lines 104-110
foreach ( $query->param ) {
Link Here
|
104 |
my $counter; |
107 |
my $counter; |
105 |
if (/ri-(\d*)/) { |
108 |
if (/ri-(\d*)/) { |
106 |
$counter = $1; |
109 |
$counter = $1; |
107 |
if ($counter > 20) { |
110 |
if ($counter > $returned_counter) { |
108 |
next; |
111 |
next; |
109 |
} |
112 |
} |
110 |
} |
113 |
} |
Lines 741-748
foreach my $code ( keys %$messages ) {
Link Here
|
741 |
} |
744 |
} |
742 |
$template->param( errmsgloop => \@errmsgloop ); |
745 |
$template->param( errmsgloop => \@errmsgloop ); |
743 |
|
746 |
|
744 |
#set up so only the last 8 returned items display (make for faster loading pages) |
|
|
745 |
my $returned_counter = ( C4::Context->preference('numReturnedItemsToShow') ) ? C4::Context->preference('numReturnedItemsToShow') : 8; |
746 |
my $count = 0; |
747 |
my $count = 0; |
747 |
my @riloop; |
748 |
my @riloop; |
748 |
my $shelflocations = |
749 |
my $shelflocations = |
749 |
- |
|
|