From 504bfad012be767a4702796a3c6232adde091eaa Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 15 May 2024 23:11:23 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/11407 --- app/src/protyle/render/av/openMenuPanel.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.ts index 86f926385..a62a96620 100644 --- a/app/src/protyle/render/av/openMenuPanel.ts +++ b/app/src/protyle/render/av/openMenuPanel.ts @@ -55,6 +55,7 @@ export const openMenuPanel = (options: { const avID = options.blockElement.getAttribute("data-av-id"); fetchPost("/api/av/renderAttributeView", { id: avID, + query: (options.blockElement.querySelector('[data-type="av-search"]') as HTMLInputElement)?.value ||"", pageSize: parseInt(options.blockElement.getAttribute("data-page-size")) || undefined, viewID: options.blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW) }, (response) => {