Skip to content

Commit

Permalink
Merge pull request #70 from jobready/feature/NEP-7981
Browse files Browse the repository at this point in the history
NEP-7981: Persist Multi-Select operator selection between visits
  • Loading branch information
dn-readytech authored Mar 11, 2019
2 parents 7994c10 + c0bce0e commit c459a1a
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 10 deletions.
4 changes: 4 additions & 0 deletions dist/react-filterbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ function setupConfiguration(configuration) {
if (configFilter) {
configFilter.enabled = true;
configFilter.value = filter.value;

if (filter.operator) {
configFilter.operator = filter.operator;
}
}
}
} catch (err) {
Expand Down
14 changes: 7 additions & 7 deletions dist/react-filterbar.min.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion example/public/js/react-filterbar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-filterbar",
"version": "1.19.4",
"version": "1.19.5",
"description": "",
"main": "dist/react-filterbar.js",
"engines": {
Expand Down
4 changes: 4 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ function setupConfiguration(configuration) {
if (configFilter) {
configFilter.enabled = true;
configFilter.value = filter.value;

if (filter.operator) {
configFilter.operator = filter.operator;
}
}
}
}
Expand Down

0 comments on commit c459a1a

Please sign in to comment.