Skip to content

Commit

Permalink
fix(backend): incorrect item count with GraphQL and useLocalFiltering
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Feb 15, 2021
1 parent 358d354 commit 3996cf4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1134,7 +1134,7 @@ export class SlickVanillaGridBundle {
startTime: new Date(),
endTime: new Date(),
itemCount,
totalItemCount: Array.isArray(this.dataset) ? this.dataset.length : 0
totalItemCount: this.dataView?.getItemCount() || 0
};

// if custom footer is enabled, then we'll update its metrics
Expand Down

0 comments on commit 3996cf4

Please sign in to comment.