Skip to content

Commit

Permalink
Merge pull request #73 from DonHaul/facet-fix
Browse files Browse the repository at this point in the history
author submissions: facets-fix
  • Loading branch information
DonHaul authored Aug 12, 2024
2 parents a42554a + 38cf115 commit 0813f92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backoffice/backoffice/workflows/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def __init__(self, *args, **kwargs):

faceted_search_fields = {
"status": {
"field": "status.keyword",
"field": "status",
"facet": TermsFacet,
"options": {
"size": 10,
Expand All @@ -284,7 +284,7 @@ def __init__(self, *args, **kwargs):
"enabled": True,
},
"workflow_type": {
"field": "workflow_type.keyword",
"field": "workflow_type",
"facet": TermsFacet,
"options": {
"size": 10,
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ services:

opensearch:
platform: linux/amd64
image: registry.cern.ch/cern-sis/inspirehep/opensearch
image: registry.cern.ch/cern-sis/inspirehep/opensearch:2.13.0
restart: "always"
environment:
- cluster.name=opensearch-cluster
Expand Down

0 comments on commit 0813f92

Please sign in to comment.