myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3472] trunk/app/views/content/_index.rhtml: fix


From: noreply
Subject: [myexperiment-hackers] [3472] trunk/app/views/content/_index.rhtml: fix up from contextualization merge
Date: Thu, 7 Mar 2013 10:34:25 +0000 (UTC)

Revision
3472
Author
dgc
Date
2013-03-07 10:34:24 +0000 (Thu, 07 Mar 2013)

Log Message

fix up from contextualization merge

Modified Paths

Diff

Modified: trunk/app/views/content/_index.rhtml (3471 => 3472)


--- trunk/app/views/content/_index.rhtml	2013-03-06 15:09:41 UTC (rev 3471)
+++ trunk/app/views/content/_index.rhtml	2013-03-07 10:34:24 UTC (rev 3472)
@@ -67,7 +67,7 @@
     </div>
     <div class="summary">
       <div class="result-count">
-        Showing <%= pluralize(@pivot[:results].size, 'result') -%>.
+        Showing <%= pluralize(@pivot[:results].total_entries, 'result') -%>.
         <% if @pivot[:results].size > 1 %>Use the <%if @pivot[:filters].length > 0 %>filters on the left and the <% end %>
         search box below to refine the results.<% end %>
       </div>
@@ -87,7 +87,7 @@
           <% end %>
           <% if params[:query] && controller.class != SearchController %>
             <div class="remove_search_query">
-              <%= link_to("Remove search query", url_with_params(request.path, request.query_parameters.merge({ "query", nil }))) -%>
+              <%= link_to("Remove search query", url_with_params(request.path, request.query_parameters.merge({ "query" => nil }))) -%>
             </div>
           <% end %>
         </form>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]