boston-library / commonwealth-vlr-engine

Commonwealth-VLR-Engine is a Rails engine for creating Blacklight apps that provide access to content from Solr/Fedora, packaging a number of feature-rich enhancements and modifications.
Apache License 2.0
8 stars 2 forks source link

sort by recently added #82

Closed ebenenglish closed 1 month ago

ebenenglish commented 1 year ago

When I am on the search results page (catalog#index) And I click the sort options widget There should be an option for "recently added" So that I can easily view recently added items

ebenenglish commented 3 months ago

This can be accomplished by adding an option system_create_dtsi desc to the sort options defined here:

https://github.com/boston-library/commonwealth-vlr-engine/blob/master/lib/commonwealth-vlr-engine/controller_override.rb#L206-L210