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 a0d8090 commit f42b01b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,17 @@ RDM_SORT_OPTIONS.update({
title=_('Publication Date'),
fields=['-metadata.publication_date'],
),
"newest": dict(
title=_("Recently Added"),
fields=["-created"],
),
})
RDM_SEARCH = {
"facets": ["resource_type", "subject", "access_status", "file_type" ],
"sort": [
"bestmatch",
"newest",
"publication",
"oldest",
"version",
"mostviewed",
"mostdownloaded",
Expand Down

0 comments on commit f42b01b

Please sign in to comment.