Unverified Commit 266ebdb2 authored by Saskia Hiltemann's avatar Saskia Hiltemann
Browse files

cast row count to integer in filter first/last N rows rule

parent f6a5cae8
......@@ -427,13 +427,13 @@ const RULES = {
component.addFilterCountWhich = "first";
component.addFilterCountInvert = false;
} else {
component.addFilterCountN = rule.count;
component.addFilterCountN = parseInt(rule.count);
component.addFilterCountWhich = rule.which;
component.addFilterCountInvert = rule.inverse;
}
},
save: (component, rule) => {
rule.count = component.addFilterCountN;
rule.count = parseInt(component.addFilterCountN);
rule.which = component.addFilterCountWhich;
rule.invert = component.addFilterCountInvert;
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment