From 8cd2139f662f6937404f48e380617f63e5dcbef6 Mon Sep 17 00:00:00 2001 From: adam malantonio Date: Thu, 31 Oct 2019 13:43:14 -0400 Subject: [PATCH] fix sort labels (had them reversed) --- app/controllers/catalog_controller.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index 40a0bd4b5..28183d9d2 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -248,10 +248,10 @@ class CatalogController < ApplicationController # the labels through +I18n.t+ first, displaying only the symbolized translation # keys we're sending here. config.add_sort_field 'score desc, system_create_dtsi desc', label: "Relevance" - config.add_sort_field 'date_issued_sort_dtsi asc', label: "Date Added \u25B2" - config.add_sort_field 'date_issued_sort_dtsi desc', label: "Date Added \u25BC" - config.add_sort_field 'system_create_dtsi asc', label: "Issue Date \u25B2" - config.add_sort_field 'system_create_dtsi desc', label: "Issue Date \u25BC" + config.add_sort_field 'date_issued_sort_dtsi asc', label: "Issue Date \u25B2" + config.add_sort_field 'date_issued_sort_dtsi desc', label: "Issue Date \u25BC" + config.add_sort_field 'system_create_dtsi asc', label: "Date Added \u25B2" + config.add_sort_field 'system_create_dtsi desc', label: "Date Added \u25BC" # If there are more than this many search results, no spelling ("did you # mean") suggestion is offered.