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

ElementTables loading all elements in a loop till the end is reached #3068

Closed
Naffto opened this issue Jul 4, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@Naffto
Copy link

commented Jul 4, 2018

Description

View any ElementIndexTable with more than 50 elements. As soon as the 'get-elements' call is complete, an additional 'get-more-elements' call will be fired. As soon as this call is complete, the next 'get-more-elements' call will be fired.
This stops when all elements are displayed.

Normal behavior is to load more elements while scrolling down.

Steps to reproduce

  1. Add more than 50 elements to any Section/Structure/Category
  2. View the list

Origin of the error

In this commit you changed the scroll container from #content-container to #container.

Now in the BaseElementIndexView.js you are using Craft.cp.$contentContainer for the scroll-container. And this value is always $('#content-container')

Additional info

  • Craft version: 3.0.14 Pro
  • PHP version: 7.0.28
  • Database driver & version: MySQL 5.7.14
  • Plugins & versions: none
@brandonkelly

This comment has been minimized.

Copy link
Member

commented Jul 4, 2018

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.