Skip to content

Commit

Permalink
Merge pull request #4469 from camptocamp/fix_multi_select_total
Browse files Browse the repository at this point in the history
Fix total in MapQuerent.clear when keep is true
  • Loading branch information
arnaud-morvan committed Dec 17, 2018
2 parents 8fdb5f0 + 5104eb6 commit d410961
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/query/MapQuerent.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ const exports = class {
if (!keep) {
source.features.length = 0;
source.totalFeatureCount = undefined;
} else {
this.result_.total += source.features.length;
}
source.pending = false;
source.queried = false;
Expand Down

0 comments on commit d410961

Please sign in to comment.