Mattermost-server: Page no 1 is missing in pagination when a user is trying to surf pages in Direct Messages Modal.

Created on 19 Oct 2018  路  2Comments  路  Source: mattermost/mattermost-server

Summary

When a user is trying to surf through the available pages in Direct Messages Modal, when clicked on next button the API call is directly happening from page no 2 which is resulting in missing of users which are available in page 1. Please check the screenshot for reference. It's happening in prerelease version of mattermost

Steps to reproduce

  1. Visit pre-release mattermost and then click on Direct Messages.
  2. It opens a modal and when you click on next and open your Network tab, you can see the call directly goes from page 2.

Expected behavior

Pagination should start on page 1.

Observed behavior (that appears unintentional)

Pagination is starting on page 2

Possible fixes

Fixing the starting index of pagination can before calling the API call will fix the issue.

PS: The issue is being addressed in a PR, which is related to Direct Messages --> https://github.com/mattermost/mattermost-webapp/pull/1855

Video Url --> https://drive.google.com/file/d/1CRFupV8lwHkU_Myh6fabep7ec5X48vi1/view?usp=sharing

screen shot 2018-10-19 at 9 07 08 am

Bug ReporOpen

All 2 comments

Hi @JayaKrishnaNamburu, I see that there is discussion on this in the PR, so I'll create a Jira ticket if a decision is made that this issue will be fixed in a separate PR.

Hi @amyblais while working in that PR I fixed this issue as well, just created one thinking it might help for reference

Was this page helpful?
0 / 5 - 0 ratings

Related issues

esethna picture esethna  路  3Comments

NotSqrt picture NotSqrt  路  3Comments

tumbl3w33d picture tumbl3w33d  路  3Comments

Pomax picture Pomax  路  3Comments

clarfonthey picture clarfonthey  路  3Comments