File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -238,9 +238,9 @@ class CatalogController < ApplicationController
238238 # whether the sort is ascending or descending (it must be asc or desc
239239 # except in the relevancy case).
240240 config . add_sort_field 'score desc, dc_title_sort asc' , label : 'relevance'
241- config . add_sort_field ' #{Settings.FIELDS.YEAR} desc, dc_title_sort asc' , label : 'year'
242- config . add_sort_field ' #{Settings.FIELDS.PUBLISHER} asc, dc_title_sort asc' , label : 'publisher'
243- config . add_sort_field ' #{Settings.FIELDS.TITLE} asc' , label : 'title'
241+ config . add_sort_field " #{ Settings . FIELDS . YEAR } desc, dc_title_sort asc" , label : 'year'
242+ config . add_sort_field " #{ Settings . FIELDS . PUBLISHER } asc, dc_title_sort asc" , label : 'publisher'
243+ config . add_sort_field " #{ Settings . FIELDS . TITLE } asc" , label : 'title'
244244
245245 # If there are more than this many search results, no spelling ("did you
246246 # mean") suggestion is offered.
You can’t perform that action at this time.
0 commit comments