mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-30 10:13:56 +01:00
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:
1 parent
7e643e2930
commit
cf17534e7b
1 file changed
+1
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user