aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-05 15:00:06 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-05 15:00:06 +0000
commit89e521bb37419012c75250fd7c45903f615289f1 (patch)
treee4e42eadef24e486a09b9b30639681942aa49a7f
parent19e192b2c6fd2edc49f86868f57e2a5f30c9f1b0 (diff)
show the number of matches, not the number on the current page
-rw-r--r--app/views/request/list.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/list.rhtml b/app/views/request/list.rhtml
index 3890fa28b..63faf3643 100644
--- a/app/views/request/list.rhtml
+++ b/app/views/request/list.rhtml
@@ -18,7 +18,7 @@
<% if @list_results.empty? %>
<p> <%= _('No requests of this sort yet.')%></p>
<% else %>
- <h2 class="foi_results"><%= _('{{count}} FOI requests found', :count => @list_results.size) %></h2>
+ <h2 class="foi_results"><%= _('{{count}} FOI requests found', :count => @matches_estimated) %></h2>
<div class="results_block">
<% for result in @list_results%>
<% if result.class.to_s == 'InfoRequestEvent' %>