Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

CODEBASE-349: index.atom.builder crashes; converting index.atom.build…

…er to use paginate_params and rsolr methods, rather than rsolr-ext's .docs
  • Loading branch information...
commit d78f26b1191830ce005724c87165064884767754 1 parent baca5e7
authored July 11, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  app/views/catalog/index.atom.builder
4  app/views/catalog/index.atom.builder
@@ -37,8 +37,8 @@ xml.feed("xmlns" => "http://www.w3.org/2005/Atom",
37 37
             "href" =>  url_for(:controller=>'catalog',:action => 'opensearch', :format => 'xml', :only_path => false))
38 38
 
39 39
   # opensearch response elements
40  
-  xml.opensearch :totalResults, @response.docs.total.to_s
41  
-  xml.opensearch :startIndex, @response.docs.start.to_s
  40
+  xml.opensearch :totalResults, @response.total.to_s
  41
+  xml.opensearch :startIndex, @response.start.to_s
42 42
   xml.opensearch :itemsPerPage, page_info.limit_value
43 43
   xml.opensearch :Query, :role => "request", :searchTerms => params[:q], :startPage => page_info.current_page
44 44
   

0 notes on commit d78f26b

Please sign in to comment.
Something went wrong with that request. Please try again.