Bug 26265: (QA follow-up) Remove g option from regex, add few dirs
[koha-equinox.git] / mainpage.pl
index 75072b1..c062f5d 100755 (executable)
@@ -32,6 +32,7 @@ use Koha::Patron::Discharge;
 use Koha::Reviews;
 use Koha::ArticleRequests;
 use Koha::ProblemReports;
+use Koha::Quotes;
 
 my $query = new CGI;
 
@@ -54,7 +55,8 @@ my $koha_news_count = scalar @$all_koha_news;
 
 $template->param(
     koha_news       => $all_koha_news,
-    koha_news_count => $koha_news_count
+    koha_news_count => $koha_news_count,
+    daily_quote     => Koha::Quotes->get_daily_quote(),
 );
 
 my $branch =
@@ -75,7 +77,7 @@ my $pending_article_requests = Koha::ArticleRequests->search_limited(
         $branch ? ( 'me.branchcode' => $branch ) : (),
     }
 )->count;
-my $pending_problem_reports = Koha::ProblemReports->search({ status => 'N' });
+my $pending_problem_reports = Koha::ProblemReports->search({ status => 'New' });
 
 $template->param(
     pendingcomments                => $pendingcomments,