Filter test: the sheet-prefix table toggle names the whole table, as a partial range over a table is refused

This commit is contained in:
Harrison Booth committed 2026-10-27 17:47:30 -05:00
1 parent 7e643e2930
commit cf17534e7b
1 file changed
+1 -1
+1 -1
View File
@@ -1501,7 +1501,7 @@ fn filter_with_a_sheet_prefix_toggles_the_table_at_the_range() {
wb.sheet(wb.sheet_index("Prices").unwrap()).unwrap().clone()
};
assert!(prices(&s).tables[0].filter_button);
s.execute("data.filter", json!({"range": "Prices!A2:B3"})).unwrap();
s.execute("data.filter", json!({"range": "Prices!A1:B3"})).unwrap();
assert!(!prices(&s).tables[0].filter_button);
assert!(prices(&s).autofilter.is_none());
assert!(s.doc().unwrap().wb.active().unwrap().autofilter.is_none());