Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/11967

Vanessa088afbc2ea3d
diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.ts
index bd0035c916..1d717d245d 100644
--- a/app/src/protyle/render/av/filter.ts
+++ b/app/src/protyle/render/av/filter.ts
@@ -156,10 +156,12 @@ export const setFilter = async (options: {
},
type: "rollup"
};
- newFilter.quantifier = (menu.element.querySelector('.b3-select[data-type="quantifier"]') as HTMLSelectElement).value;
} else {
newFilter.value = newValue;
}
+ if (["rollup", "mAsset"].includes(options.filter.value.type)) {
+ newFilter.quantifier = (menu.element.querySelector('.b3-select[data-type="quantifier"]') as HTMLSelectElement).value;
+ }
let isSame = false;
options.data.view.filters.find((filter, index) => {
if (filter.column === options.filter.column && filter.value.type === options.filter.value.type) {