mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
This commit is contained in:
parent
b8cc5a66d2
commit
504bfad012
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ export const openMenuPanel = (options: {
|
||||||
const avID = options.blockElement.getAttribute("data-av-id");
|
const avID = options.blockElement.getAttribute("data-av-id");
|
||||||
fetchPost("/api/av/renderAttributeView", {
|
fetchPost("/api/av/renderAttributeView", {
|
||||||
id: avID,
|
id: avID,
|
||||||
|
query: (options.blockElement.querySelector('[data-type="av-search"]') as HTMLInputElement)?.value ||"",
|
||||||
pageSize: parseInt(options.blockElement.getAttribute("data-page-size")) || undefined,
|
pageSize: parseInt(options.blockElement.getAttribute("data-page-size")) || undefined,
|
||||||
viewID: options.blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW)
|
viewID: options.blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW)
|
||||||
}, (response) => {
|
}, (response) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue