Skip to content

EspoCRM – Open Source CRM Application

Kanban reset whereFunction on remove

Yuriid15dda0bc324
diff --git a/client/src/views/record/kanban.js b/client/src/views/record/kanban.js
index ac0726e02f..484462fa26 100644
--- a/client/src/views/record/kanban.js
+++ b/client/src/views/record/kanban.js
@@ -527,6 +527,15 @@ class KanbanRecordView extends ListRecordView {
}
];
};
+
+
+ this.once('remove', (/** Record */o) => {
+ if (o?.ignoreCleaning) {
+ return;
+ }
+
+ this.collection.whereFunction = null;
+ });
}
/**