Bug 7326: longoverdue.pl hardcoded to 366 days maximum
[koha.git] / acqui / newordersuggestion.pl
index 4697800..b65e4ea 100755 (executable)
@@ -87,12 +87,13 @@ can be equal to
 =cut
 
 use strict;
+#use warnings; FIXME - Bug 2505
 
 use CGI;
 use C4::Auth;    # get_template_and_user
 use C4::Output;
 use C4::Suggestions;
-use C4::Bookseller;
+use C4::Bookseller qw/ GetBookSellerFromId /;
 use C4::Biblio;
 
 my $input = new CGI;
@@ -132,7 +133,7 @@ my $suggestions_loop =
                 author                 => $author, 
                 title                  => $title, 
                 publishercode  => $publishercode,
-                status             => 'ACCEPTED'});
+                STATUS        => 'ACCEPTED'});
 my $vendor = GetBookSellerFromId($supplierid);
 $template->param(
     suggestions_loop        => $suggestions_loop,