Bug 5698: Followup: Add date picker option to SQL Runtime Parameters
[srvgit] / reports / guided_reports.pl
index 27377e0..5d53791 100755 (executable)
@@ -420,7 +420,10 @@ elsif ($phase eq 'Run this report'){
         for(my $i=0;$i<($#split/2);$i++) {
             my ($text,$authorised_value) = split /\|/,$split[$i*2+1];
             my $input;
-            if ($authorised_value) {
+            if ($authorised_value eq "date") {
+               $input = 'date';
+            }
+            elsif ($authorised_value) {
                 my $dbh=C4::Context->dbh;
                 my @authorised_values;
                 my %authorised_lib;