gtech-mulearn / mulearn

µLearn is a synergic philosophy of education, with a culture of mutual learning through micro groups of peers. µLearn is here to assist you in breaking through the echo chambers and free you from the shackles that have you grounded.
https://mulearn.org/
39 stars 74 forks source link

mu-dev-managing organization-department data issue #1542

Open shreeragkh opened 1 month ago

shreeragkh commented 1 month ago

Describe your issue

When I try to list the data with a specified number of rows per page, it initially fetches the data correctly, when I navigate to the previous page, the data does not fetch correctly and the total data count is listed as 24 for any number of rows per page except 20, but when I set the rows per page to 20, it shows 30 rows.

Steps to reproduce

  1. Go to " https://dev-app-mulearn.vercel.app"
  2. select "manage organisation"
  3. select "department"
  4. change the value of rows per page and see the result-When I try to list the data with a specified number of rows per page, it initially fetches the data correctly, when I navigate to the previous page, the data does not fetch correctly and the total data count is listed as 24 for any number of rows per page except 20, but when I set the rows per page to 20, it shows 30 rows.

What was the expected result?

The expected result is to fetch the data correctly

Put here any screenshots or videos (optional)

Screenshot from 2024-05-22 22-01-01 Screenshot from 2024-05-22 22-02-47 Screenshot from 2024-05-22 22-03-32

Would you like to work on this issue?

None