Skip to content

Commit

Permalink
Fix search term search
Browse files Browse the repository at this point in the history
  • Loading branch information
scheb committed Apr 17, 2024
1 parent a597987 commit 6936b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_app/views/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def search(request: HttpRequest) -> HttpResponse:
search_result = None

scope = get_scope(request)
if scope.has_filter():
if scope.search_term is not None or scope.has_filter():
search_result = execute_search(scope)

meta = SearchMeta(scope.search_term).get_meta()
Expand Down

0 comments on commit 6936b2c

Please sign in to comment.