View | Details | Raw Unified | Return to bug 30802
Collapse All | Expand All

(-)a/circ/returns.pl (-4 / +4 lines)
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 644-651 foreach my $code ( keys %$messages ) { Link Here
644
}
647
}
645
$template->param( errmsgloop => \@errmsgloop );
648
$template->param( errmsgloop => \@errmsgloop );
646
649
647
#set up so only the last 8 returned items display (make for faster loading pages)
648
my $returned_counter = ( C4::Context->preference('numReturnedItemsToShow') ) ? C4::Context->preference('numReturnedItemsToShow') : 8;
649
my $count = 0;
650
my $count = 0;
650
my @riloop;
651
my @riloop;
651
my $shelflocations =
652
my $shelflocations =
652
- 

Return to bug 30802