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

List Display Incorrect Till Counter Per Page #1343

Open
timeratp opened this issue Sep 20, 2023 · 0 comments
Open

List Display Incorrect Till Counter Per Page #1343

timeratp opened this issue Sep 20, 2023 · 0 comments
Labels
Admin UI tasks related to active admin UI bug

Comments

@timeratp
Copy link
Contributor

Describe
Yeti platform has multiple sections where data is displayed in tables and those tables have multiple pages (pagination). After each table at the bottom there is standardized information frame with interval values:
"Displaying <section_name> <item_start_number> - <item_end_number> of <total_items> in total".
Example: "Displaying System Countries 31 - 271 of 241 in total";
For section having more than 1 page data, selecting page number >1, data is displayed incorrect. Period of last item is more than total items.

Preconditions:
Navigate to section having data on more than 1 page;

Steps to reproduce:

  1. Login as Admin User;
  2. Navigate to: https://demo.yeti-switch.org/system_countries
  3. Refer to bottom section: "Displaying System Countries 1 - 241 of 241 in total"
  4. Press on next page (not page=1) https://demo.yeti-switch.org/system_countries?order=id_desc&page=2
  5. Refer to the bottom section;

Expected behaviour:
Displaying System Countries 51 - 100 of 241 in total;

Actual behaviour:
Displaying System Countries 51 - 291 of 241 in total;

Additional info:
Issue is global per multiple section.

@timeratp timeratp changed the title CDrs List Display Incorrect Till Counter Per Page Sep 20, 2023
@Ivanov-Anton Ivanov-Anton added bug Admin UI tasks related to active admin UI labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin UI tasks related to active admin UI bug
Projects
None yet
Development

No branches or pull requests

2 participants