From 0812280104543b5c29f2f9ea32b48e127abd9906 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 17 Jul 2012 11:33:35 +1000 Subject: [PATCH] Bug 8454 - Holds to Pull : Show pull list on load. Otherwise, it looks like the pull list is empty. Currently, when you click "Holds to pull" from the Circulation menu, the only thing that you see is a white screen and a side navigation bar that says "Refine Results". Since there appear to be no results to refine, the holds to pull list appears completely empty. Staff have to know to click "Submit" on the "Refine Results" form to get anything. I propose that we have the "run_report" flag set to ON for the initial load. The report uses the default 2 days mentioned in the "Refine Results" form, so there is continuity across the board. Signed-off-by: Jonathan Druart Signed-off-by: Paul Poulain --- circ/pendingreserves.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl index 63e9c445c9..e532faff3e 100755 --- a/circ/pendingreserves.pl +++ b/circ/pendingreserves.pl @@ -36,7 +36,7 @@ use Date::Calc qw/Today Add_Delta_YMD/; my $input = new CGI; my $startdate=$input->param('from'); my $enddate=$input->param('to'); -my $run_report=$input->param('run_report'); +my $run_report = ( not defined $input->param('run_report') ) ? 1 : $input->param('run_report'); my $theme = $input->param('theme'); # only used if allowthemeoverride is set -- 2.20.1