Skip to content

Commit

Permalink
fix: wi-69 use SEARCH_PATH setting
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Nov 7, 2023
1 parent bcaf2ba commit f088c62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ecep_cms/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# TACC/Core-CMS#v3.12.0-beta.3
FROM taccwma/core-cms:aba079b
# TACC/Core-CMS#743 (v4.2.0 candidate)
FROM taccwma/core-cms:826aede

WORKDIR /code

Expand Down
4 changes: 3 additions & 1 deletion ecep_cms/src/taccsite_cms/settings_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@
# TACC: SEARCH
########################

SEARCH_QUERY_PARAM_NAME = 'q'
# Support Google search instead of Portal's Elasticsearch
SEARCH_PATH = '/site-search' # cuz Portal Nginx config hijacks /search
SEARCH_QUERY_PARAM_NAME = 'q' # as Google expects

########################
# TACC: PORTAL
Expand Down

0 comments on commit f088c62

Please sign in to comment.