Filter: turning a table's filter off keeps rows another table's criteria still hide

This commit is contained in:
Harrison Booth
2026-10-27 16:46:18 -05:00
parent 2e1a744c6c
commit be8efa6d0b
2 changed files with 27 additions and 1 deletions
+4 -1
View File
@@ -26,7 +26,10 @@ pub(super) fn toggle_filter(s: &mut Session, p: &Json) -> Result<Json> {
if cleared {
sh.autofilter = None;
for r in filtered {
if let Some(info) = sh.rows.get_mut(&r) {
// Rows another table's criteria still hide stay hidden.
if !sh.is_row_filtered(r)
&& let Some(info) = sh.rows.get_mut(&r)
{
info.hidden = false;
}
}