diff --git a/backoffice/config/settings/base.py b/backoffice/config/settings/base.py index 0cd1429f..e8fa6288 100644 --- a/backoffice/config/settings/base.py +++ b/backoffice/config/settings/base.py @@ -397,47 +397,3 @@ # Workaround because it wont add the connection settings automatically connections.configure(default=OPENSEARCH_DSL["default"]) - - -WORKFLOWS_UI_REST_SORT_OPTIONS = { - "holdingpen": { - "bestmatch": { - "title": "Best match", - "fields": ["-_score"], - "default_order": "asc", - "order": 1, - }, - "mostrecent": { - "title": "Most recent", - "fields": ["-metadata.acquisition_source.datetime"], - "default_order": "asc", - "order": 2, - }, - "core": { - "title": "Relevance Prediction (Desc)", - "fields": [ - { - "_extra_data.relevance_prediction.relevance_score": { - "missing": "_last", - "order": "desc", - "unmapped_type": "float", - }, - }, - ], - "order": 3, - }, - "rejected": { - "title": "Relevance Prediction (Asc)", - "fields": [ - { - "_extra_data.relevance_prediction.relevance_score": { - "missing": "_last", - "order": "asc", - "unmapped_type": "float", - }, - }, - ], - "order": 4, - }, - }, -}