Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding secondary sort when there is no year_i (HYLIBRA-285)

  • Loading branch information...
commit 3270b6c366585dca5ce09268e045fc02f5e8f033 1 parent 54ab00a
darthmolly authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/controllers/catalog_controller_spec.rb
2  spec/controllers/catalog_controller_spec.rb
View
@@ -79,7 +79,7 @@
end
it "should set the sort to be year descending if there is no query" do
get :index, :f => { "fake_facet" => "blah"}
- params[:sort].should == 'year_i desc'
+ params[:sort].should == 'year_i desc, system_create_dt desc'
end
it "should not reset the sort to be date descending if a sort is specified" do
get :index, :f => { "fake_facet" => "blah"}, :sort_key => 'author'
Please sign in to comment.
Something went wrong with that request. Please try again.