An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: getAttributeViewFilterSor
Vanessaa366073c3d14
diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.tsindex 473fff19b2..b7411d9520 100644--- a/app/src/protyle/render/av/row.ts+++ b/app/src/protyle/render/av/row.ts@@ -115,12 +115,15 @@ ${(item.getAttribute("data-block-id") || item.dataset.dtype === "block") ? ' datif (avId) {const currentRow = previousElement.nextElementSibling;const sideRow = previousElement.classList.contains("av__row--header") ? currentRow.nextElementSibling : previousElement;- fetchPost("/api/av/getAttributeViewFilterSort", {id: avId}, (response) => {+ fetchPost("/api/av/getAttributeViewFilterSort", {+ id: avId,+ blockID: blockElement.getAttribute("data-node-id")+ }, (response) => {// https://github.com/siyuan-note/siyuan/issues/10517let hideTextCell = false;response.data.filters.find((item: IAVFilter) => {const headerElement = blockElement.querySelector(`.av__cell--header[data-col-id="${item.column}"]`);- if (headerElement && ["relation", "rollup", "template", "created", "updated"].includes(headerElement.getAttribute("dtype"))) {+ if (headerElement && ["relation", "rollup", "template", "created", "updated"].includes(headerElement.getAttribute("data-dtype"))) {hideTextCell = true;return true;}