aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-09 10:54:56 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-09 10:54:56 +0000
commitf9bf86f10d9cbcfb8d4e7e1ea676fc4bbe28134d (patch)
tree3967de7366cf0e726946d06a53ba9d6f565d0ad8
parentc587009b42b7009cd04657ad33df514b38237ae5 (diff)
estimate number of requests, not number of bodies!
-rw-r--r--app/views/user/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml
index 9845f6b89..2d2394f5c 100644
--- a/app/views/user/show.rhtml
+++ b/app/views/user/show.rhtml
@@ -147,7 +147,7 @@
<% end %>
<% else %>
<h2 class="foi_results" id="foi_requests">
- <%= @is_you ? n_('Your %d Freedom of Information request', 'Your %d Freedom of Information requests', @xapian_requests.results.size) % @xapian_requests.results.size : n_('This person\'s %d Freedom of Information request', 'This person\'s %d Freedom of Information requests', @xapian_bodies.matches_estimated.to_s) % @xapian_bodies.matches_estimated %>
+ <%= @is_you ? n_('Your %d Freedom of Information request', 'Your %d Freedom of Information requests', @xapian_requests.results.size) % @xapian_requests.results.size : n_('This person\'s %d Freedom of Information request', 'This person\'s %d Freedom of Information requests', @xapian_requests.matches_estimated.to_s) % @xapian_requests.matches_estimated %>
<!-- matches_estimated <%=@xapian_requests.matches_estimated%> -->
<%= @match_phrase %>
<%= @page_desc %>