Skip to content

Commit

Permalink
fix: change pub_date sort order field
Browse files Browse the repository at this point in the history
  • Loading branch information
yetti committed Feb 9, 2024
1 parent 0f61ca3 commit ae26512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ class CatalogController < ApplicationController
# whether the sort is ascending or descending (it must be asc or desc
# except in the relevancy case). Add the sort: option to configure a
# custom Blacklight url parameter value separate from the Solr sort fields.
config.add_sort_field "score desc, pub_date_ssim desc, title_si asc", label: "Relevance"
config.add_sort_field "score desc, pub_date_si desc, title_si asc", label: "Relevance"
config.add_sort_field "pub_date_ssim desc, title_si asc", label: "Date New to Old"
config.add_sort_field "pub_date_ssim asc, title_si asc", label: "Date Old to New"
config.add_sort_field "author_si asc, title_si asc", label: "Author A-Z"
Expand Down

0 comments on commit ae26512

Please sign in to comment.