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/15915

Vanessa4692487b4dc9
diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.ts
index 7755aca4f2..fc5b79e1ea 100644
--- a/app/src/protyle/render/av/filter.ts
+++ b/app/src/protyle/render/av/filter.ts
@@ -223,7 +223,7 @@ export const setFilter = async (options: {
});
return;
}
- if (colData.rollup.calc?.operator && ["Range", "Unique values"].includes(colData.rollup.calc.operator)) {
+ if (colData.rollup.calc?.operator && !["Range", "Unique values"].includes(colData.rollup.calc.operator)) {
if (["Count all", "Count empty", "Count not empty", "Count values", "Count unique values", "Percent empty",
"Percent not empty", "Percent unique values", "Percent checked", "Percent unchecked",
"Sum", "Average", "Median", "Min", "Max"].includes(colData.rollup.calc.operator)) {