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

Cloud Logs Pagination problems #636

Open
ctacke opened this issue May 16, 2024 · 0 comments
Open

Cloud Logs Pagination problems #636

ctacke opened this issue May 16, 2024 · 0 comments
Assignees

Comments

@ctacke
Copy link
Contributor

ctacke commented May 16, 2024

When switching view from Logs to Events, the page number is being remembered, which is a problem.

To reproduce, view Events on a device with more Events than Logs (like a Clima). Set the "items per page" to 100 (to make it easier to repro). Move forward enough to get past the number of Logs that exist. Now switch to Logs view. It will say there are no Logs. It's because it's trying to go to a page that is past the end of the data.

So concretely, let's say you have 30 Logs and 250 events. Show Events and go to the page for records 100-199. It shows Events 100-199. Now switch to Logs. it tries to show Logs 100-199, but those don't exist, so it says "no records found"

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

No branches or pull requests

2 participants