Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] Fix <Query> does not pass total from dataProvider result #3046

Merged
merged 1 commit into from
Mar 25, 2019

Conversation

Kmaschta
Copy link
Contributor

As explained on the documentation, the dataProvider can return two keys data and total:

image

As of now, <Query> can only return data, and this is very restrictive, especially when dealing with lists or references.

This PR aims to pass the prop total with the data, but also test and document the usage of with lists.

@djhi djhi added this to the v2.8.3 milestone Mar 24, 2019
@djhi djhi requested a review from fzaninotto March 24, 2019 07:07
@fzaninotto fzaninotto merged commit 16198fd into master Mar 25, 2019
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto deleted the query-list branch March 25, 2019 08:22
@fzaninotto fzaninotto changed the title [RFR] Allow <Query> to pass all results from dataProvider [RFR] Fix <Query> does not pass total from dataProvider result Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants