From e544ec109824415121ba122dfb057a6b3a38f05c Mon Sep 17 00:00:00 2001 From: antoine37120 <ant.dupre@gmail.com> Date: Tue, 28 Nov 2023 19:42:15 +0100 Subject: [PATCH] fix: performance folowed answers --- src/widjets-display-follow-tzcld.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/widjets-display-follow-tzcld.js b/src/widjets-display-follow-tzcld.js index eef2f24..4425c3b 100644 --- a/src/widjets-display-follow-tzcld.js +++ b/src/widjets-display-follow-tzcld.js @@ -123,8 +123,7 @@ core.Sib.register({ <solid-form-search id="filter-follow-${utils.getIntId(point['@id'])}-${utils.getIntId(communityId)}" class="hidden" - fields="community, followed_point" - value-community="${communityId}" + fields="followed_point" value-followed_point="${point['@id']}" naked ></solid-form-search> @@ -132,7 +131,7 @@ core.Sib.register({ solid-resource fields="@id" filtered-by="filter-follow-${utils.getIntId(point['@id'])}-${utils.getIntId(communityId)}" - data-src="${pointsAnswers}" + data-src="${communityId}tzcld_community_followed_answer/" widget-id="${widget_id}" ></solid-display> </div>`; -- GitLab