Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
samar-hassan committed Oct 23, 2024
1 parent 33216fa commit 88e516f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oscar_elasticsearch/search/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from django.utils.translation import gettext_lazy as _

# from extendedsearch.settings import *
from .constants import ES_CTX_BROWSABLE
from .constants import ES_CTX_AVAILABLE, ES_CTX_PUBLIC

HANDLE_STOCKRECORD_CHANGES = getattr(
settings, "OSCAR_ELASTICSEARCH_HANDLE_STOCKRECORD_CHANGES", True
Expand All @@ -26,7 +26,7 @@
SUGGESTION_STATUS_FILTER = getattr(
settings,
"OSCAR_ELASTICSEARCH_SUGGESTION_STATUS_FILTER",
ES_CTX_BROWSABLE,
ES_CTX_AVAILABLE if FILTER_AVAILABLE else ES_CTX_PUBLIC,
)
SUGGESTION_FIELD_NAME = getattr(
settings, "OSCAR_ELASTICSEARCH_SUGGESTION_FIELD_NAME", "search_title"
Expand Down

0 comments on commit 88e516f

Please sign in to comment.