From f2047d84d50708ba3a53346c600a737325233512 Mon Sep 17 00:00:00 2001 From: KK Date: Mon, 11 Dec 2023 14:51:06 +0100 Subject: [PATCH] feat: add settings for WorkType to APIS_ENTITIES --- apis_ontology/settings.py | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/apis_ontology/settings.py b/apis_ontology/settings.py index a437c43..3b6c575 100644 --- a/apis_ontology/settings.py +++ b/apis_ontology/settings.py @@ -227,6 +227,42 @@ "data_source": {}, }, }, + "WorkType": { + "search": [ + "name", + "name_plural", + "alternative_name", + "description", + "progress_status", + "data_source", + ], + "form_order": [ + "name", + "name_plural", + "alternative_name", + "description", + "progress_status", + "data_source", + ], + "table_fields": [ + "name", + "name_plural", + "alternative_name", + ], + "additional_cols": [ + "description", + "progress_status", + "data_source", + ], + "list_filters": { + "name": {"method": "name_label_filter"}, + "name_plural": {"method": "name_label_filter"}, + "alternative_name": {"method": "name_label_filter"}, + "description": {"method": "name_label_filter"}, + "progress_status": {}, + "data_source": {}, + }, + }, "Expression": { "search": [ "name",