Skip to content

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

:bug: 数据库添加筛选条件选择汇总报错

Vanessa0e611fba32ec
diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.ts
index c8c8899a69..b951a6ad98 100644
--- a/app/src/protyle/render/av/filter.ts
+++ b/app/src/protyle/render/av/filter.ts
@@ -504,7 +504,7 @@ export const addFilter = (options: {
options.data.view.columns.forEach((column) => {
let filter: IAVFilter;
options.data.view.filters.find((item) => {
- if (filter.column === column.id) {
+ if (item.column === column.id) {
filter = item;
return true;
}