Skip to content

Commit

Permalink
restore missing wire filters
Browse files Browse the repository at this point in the history
CPCN-509
  • Loading branch information
petrjasek committed Dec 20, 2023
1 parent 725e524 commit 401ef2e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,23 @@
"value": "subject_custom",
},
},
{
"field": "distribution",
"label": lazy_gettext("Service"),
"nested": {
"parent": "subject",
"field": "scheme",
"value": "distribution",
},
},
{
"field": "genre",
"label": lazy_gettext("Version"),
},
{
"field": "urgency",
"label": lazy_gettext("Ranking"),
},
]

WIRE_AGGS = {
Expand All @@ -172,6 +185,7 @@
"service": {"terms": {"field": "service.name", "size": 50}},
"subject": {"terms": {"field": "subject.name", "size": 100}},
"genre": {"terms": {"field": "genre.name", "size": 50}},
"urgency": {"terms": {"field": "urgency"}},
}

AGENDA_GROUPS = [
Expand Down

0 comments on commit 401ef2e

Please sign in to comment.