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

Piwigo NG 2.0.3 cannot display more than two pages of search results #159

Closed
wittypluck opened this issue May 20, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@wittypluck
Copy link

Hello,
Thanks for the great improvements in v2 beta.
It seems the search results cannot scroll down more than two pages.
When scrolling down a large number of results, instead of loading pictures of pages 3 or more, it keeps displaying page 2 again and again.
So search results show:
Page 1, page 2, page 2, page 2, page 2...
Instead of :
Page 1, page 2, page 3, page 4, page 5...

I don't know flutter but from a quick look at the code, it seems in the function _loadMoreImages in image_search_view_page.dart, the variable _page might never incremented. So this call keeps loading page 2: searchImages(_searchText, _page + 1);

Piwigo NG: 2.0.3-beta
Piwigo: 13.7.0

Thanks!

@remi-martin
Copy link
Collaborator

Thanks for reporting this issue.

I found the problem and it should be fixed for the next version

@remi-martin remi-martin self-assigned this May 22, 2023
@remi-martin remi-martin added the bug Something isn't working label May 22, 2023
remi-martin pushed a commit that referenced this issue May 22, 2023
remi-martin pushed a commit that referenced this issue May 22, 2023
@remi-martin
Copy link
Collaborator

Should be fixed in 2.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants