Skip to content

Commit

Permalink
Update sort options and label
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Jan 29, 2024
1 parent f42b01b commit fbc3e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ SEARCH_INDEX_PREFIX = "caltechauthors-"
from invenio_rdm_records.config import RDM_SORT_OPTIONS
RDM_SORT_OPTIONS.update({
"publication": dict(
title=_('Publication Date'),
title=_('Publication date'),
fields=['-metadata.publication_date'],
),
"newest": dict(
title=_("Recently Added"),
title=_("Recently added"),
fields=["-created"],
),
})
Expand Down

0 comments on commit fbc3e27

Please sign in to comment.