Unverified Commit 2aad3b2c authored by Dannon's avatar Dannon Committed by GitHub
Browse files

Merge pull request #6802 from mvdbeek/fix_int_parsing_rules

[18.05] Cast rule.length to int when parsing rules
parents de794dd9 2d78dbb9
...@@ -297,7 +297,7 @@ const RULES = { ...@@ -297,7 +297,7 @@ const RULES = {
}, },
save: (component, rule) => { save: (component, rule) => {
rule.target_column = component.addColumnSubstrTarget; rule.target_column = component.addColumnSubstrTarget;
rule.length = component.addColumnSubstrLength; rule.length = parseInt(component.addColumnSubstrLength);
rule.substr_type = component.addColumnSubstrType; rule.substr_type = component.addColumnSubstrType;
}, },
apply: (rule, data, sources, columns) => { apply: (rule, data, sources, columns) => {
......
This diff is collapsed.
Supports Markdown
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