diff --git a/app/controllers/catalog_controller_decorator.rb b/app/controllers/catalog_controller_decorator.rb index 3ef21828..3bf180a4 100644 --- a/app/controllers/catalog_controller_decorator.rb +++ b/app/controllers/catalog_controller_decorator.rb @@ -119,8 +119,8 @@ def self.uploaded_field # TODO: replace CatalogController.creator_field to return 'creator_ssi' config.add_sort_field "creator_ssi asc", label: "Author" # TODO: replace CatalogController.created_field to return 'created_ssi' - config.add_sort_field "created_ssi asc", label: "Published Date (Ascending)" - config.add_sort_field "created_ssi desc", label: "Published Date (Descending)" + config.add_sort_field "#{CatalogController.created_field} asc", label: "Published Date (Ascending)" + config.add_sort_field "#{CatalogController.created_field} desc", label: "Published Date (Descending)" config.add_sort_field "#{CatalogController.modified_field} asc", label: "Upload Date (Ascending)" config.add_sort_field "#{CatalogController.modified_field} desc", label: "Upload Date (Descending)" end diff --git a/hyrax-webapp b/hyrax-webapp index b193a393..d6892bf3 160000 --- a/hyrax-webapp +++ b/hyrax-webapp @@ -1 +1 @@ -Subproject commit b193a393d7ec971bf55dff73910f805912024667 +Subproject commit d6892bf320faf784fa7b61241d3505548fd18b33