Permalink
Browse files

Bugfix: retrieve all matching cache rows

  • Loading branch information...
1 parent 80a9945 commit 58f2ed3ff45883f5a1467043e5aa62d0bfa5eacf Ray Miller committed Aug 1, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/LIMS2/ReportGenerator.pm
View
3 lib/LIMS2/ReportGenerator.pm
@@ -74,8 +74,7 @@ sub cached_report {
expires => { '>' => \'current_timestamp' }
},
{
- order_by => { -desc => 'expires' },
- limit => 1
+ order_by => { -desc => 'expires' }
}
);

0 comments on commit 58f2ed3

Please sign in to comment.