From e7933d7c595c4e5920a9253a2a3e0d8877149fcc Mon Sep 17 00:00:00 2001 From: wunter8 Date: Sat, 20 May 2023 17:55:36 -0600 Subject: [PATCH] (core) Remove bool filtered rows immediately on change (#517) * (core) Remove bool filtered rows immediately on change --- app/client/components/BaseView.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/client/components/BaseView.js b/app/client/components/BaseView.js index df4c1518..a90e38d7 100644 --- a/app/client/components/BaseView.js +++ b/app/client/components/BaseView.js @@ -578,9 +578,10 @@ BaseView.prototype._saveEditRowField = function(editRowModel, colName, value) { mainRowModel[colName](value); } const ret = DataRowModel.prototype._saveField.call(editRowModel, colName, value) - // Display this rowId, even if it doesn't match the filter + // Display this rowId, even if it doesn't match the filter, + // unless the filter is on a Bool column .then((result) => { - if (!this.isDisposed()) { + if (!this.isDisposed() && this.currentColumn().pureType() !== 'Bool') { this._sectionFilter.addTemporaryRow(rowId); } return result;