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

infinitePagination does not resolve reference fields #624

Closed
toxsick opened this issue Aug 26, 2015 · 1 comment
Closed

infinitePagination does not resolve reference fields #624

toxsick opened this issue Aug 26, 2015 · 1 comment
Labels

Comments

@toxsick
Copy link

toxsick commented Aug 26, 2015

Hey guys,

in my listView I use reference fields like this:

nga.field('make', 'reference')
    .map(truncate)
    .targetEntity(make)
    .targetField(nga.field('name').map(truncate))

This works absolutely fine with normal pagination. But if I use .infinitePagination(true) the references are only resolved for the first page. When the second page is loaded no calls are triggered to resolve the references. That's why only data is visible that had been already requested on the first page.

Here you can see what this looks like:

angular_admin_und_datadock_und_datadock

HELP?

Best Regards
Hannes

@fzaninotto fzaninotto added the bug label Aug 27, 2015
@fzaninotto
Copy link
Member

That's a bug, we'll need to investigate. In the meantime, please use normal pagination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants