Skip to content

Commit

Permalink
renamed search method calls in global search
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Krist committed Aug 21, 2024
1 parent 7069a08 commit 0d7913e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oarepo_communities/services/community_records/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def search(
identity,
community_id,
search_service=current_global_search_service,
search_method="global_search",
search_method="search",
links_template=LinksTemplate(
self.config.links_search_community_records,
context={"args": params_copy, "id": community_id},
Expand Down Expand Up @@ -132,7 +132,7 @@ def user_search(
identity,
community_id,
search_service=current_global_search_service,
search_method="global_search_drafts",
search_method="search_drafts",
links_template=LinksTemplate(
self.config.links_search_community_user_records,
context={"args": params_copy, "id": community_id},
Expand Down

0 comments on commit 0d7913e

Please sign in to comment.