Skip to content

Commit

Permalink
configure coverage status filter
Browse files Browse the repository at this point in the history
CPCN-527
  • Loading branch information
petrjasek authored and devketanpro committed Feb 20, 2024
1 parent 49e8b58 commit fa82db7
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,39 @@
"agenda": ["name", "description"],
},
},
}
"coverage_status_filter": {
"not planned": {
"enabled": True,
"index": 1,
"option_label": lazy_gettext("No coverage"),
"button_label": lazy_gettext("No coverage"),
},
"not intended": {
"enabled": True,
"index": 2,
"option_label": lazy_gettext("Cancelled / not planned"),
"button_label": lazy_gettext("Cancelled / not planned"),
},
"may be": {
"enabled": True,
"index": 3,
"option_label": lazy_gettext("Not decided / on merit"),
"button_label": lazy_gettext("Not decided / on merit"),
},
"planned": {
"enabled": True,
"index": 4,
"option_label": lazy_gettext("Planned"),
"button_label": lazy_gettext("Planned"),
},
"completed": {
"enabled": True,
"index": 5,
"option_label": lazy_gettext("Completed"),
"button_label": lazy_gettext("Completed"),
},
},
},
)

CLIENT_LOCALE_FORMATS = CLIENT_CONFIG["locale_formats"]
Expand Down Expand Up @@ -332,7 +364,9 @@

WIRE_NOTIFICATIONS_ON_CORRECTIONS = True

CONTENTAPI_ELASTICSEARCH_SETTINGS["settings"]["analysis"]["analyzer"]["html_field_analyzer"]["filter"] = [
CONTENTAPI_ELASTICSEARCH_SETTINGS["settings"]["analysis"]["analyzer"][
"html_field_analyzer"
]["filter"] = [
"lowercase",
"elision",
"asciifolding",
Expand Down

0 comments on commit fa82db7

Please sign in to comment.