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

Default pagination for backend and frontend are different. #518

Closed
serdula opened this issue Jun 3, 2021 · 0 comments · Fixed by #523
Closed

Default pagination for backend and frontend are different. #518

serdula opened this issue Jun 3, 2021 · 0 comments · Fixed by #523
Labels
type/bug Something isn't working
Projects
Milestone

Comments

@serdula
Copy link

serdula commented Jun 3, 2021

Describe the bug

Default pagination for backend is 20:

	private static final Integer DEFAULT_PAGE_SIZE = 20;

Default pagination for fronted is 25:

	export const PER_PAGE = 25;

This result in this behavior:

  1. When you first open the topics list in the browser you get 20 topics (1…20)
  2. When you click the “Next page” you get 25 topics from 25 to 50
  3. If you want to see topics 21...25 you need to click “Previous” to see them
  4. If you happen to have 21...25 topics the next page is empty

Set up
docker master image

Expected behavior
Default pagination for backend and frontend should be same.

@serdula serdula added the type/bug Something isn't working label Jun 3, 2021
@germanosin germanosin added this to To do in Release 0.1 via automation Jun 3, 2021
@germanosin germanosin added this to the 0.1 milestone Jun 3, 2021
germanosin added a commit that referenced this issue Jun 3, 2021
germanosin added a commit that referenced this issue Jun 3, 2021
@germanosin germanosin linked a pull request Jun 3, 2021 that will close this issue
13 tasks
Release 0.1 automation moved this from To do to Done Jun 3, 2021
germanosin added a commit that referenced this issue Jun 3, 2021
* #518 Fixed backend page size

* Fixedd tests
javalover123 pushed a commit to javalover123/kafka-ui that referenced this issue Dec 7, 2022
* provectus#518 Fixed backend page size

* Fixedd tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants