From 0d7913e12451479b1bb5e9a4be584b29e09b2d29 Mon Sep 17 00:00:00 2001 From: Ronald Krist Date: Wed, 21 Aug 2024 10:04:59 +0200 Subject: [PATCH] renamed search method calls in global search --- oarepo_communities/services/community_records/service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oarepo_communities/services/community_records/service.py b/oarepo_communities/services/community_records/service.py index fe217ba..59733a4 100644 --- a/oarepo_communities/services/community_records/service.py +++ b/oarepo_communities/services/community_records/service.py @@ -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}, @@ -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},