aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-08 11:01:15 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-08 11:01:15 +0000
commit7149758430e4192487433a6c13483e9a8b1df261 (patch)
treef8fe5a4f622a91c94ce4bf0305d08bc5929ac9a2
parente3d409971edd73e11e09e8938e54b0e7cc9e6c92 (diff)
Correctly show total count of user's requests
-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 9ac203541..9845f6b89 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_requests.results.size) % @xapian_requests.results.size %>
+ <%= @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 %>
<!-- matches_estimated <%=@xapian_requests.matches_estimated%> -->
<%= @match_phrase %>
<%= @page_desc %>