Skip to content

Commit

Permalink
Merge pull request #62 from devgateway/fix/OCVN-237/multiple-select-d…
Browse files Browse the repository at this point in the history
…ata-loss

OCVN-237 Multiple select data loss
  • Loading branch information
alexeisavca authored Aug 3, 2016
2 parents 42a7225 + 0eeb6b0 commit 76437ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/oce/filters/inputs/multiple-select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MultipleSelect extends translatable(Component){
}

getSelectedCount(){
return this.getOptions().filter((_, id) => this.props.selected.has(id)).count();
return this.getOptions().filter((option, key) => this.props.selected.has(this.getId(option, key))).count();
}

transform(datum){
Expand Down

0 comments on commit 76437ce

Please sign in to comment.