Skip to content

Conversation

@murtaza98
Copy link
Contributor

Proposed changes (including videos or screenshots)

Issue(s)

Omnichannel - Current Chats not refreshing while clicking on pagination

Steps to test or reproduce

Steps to reproduce:

  1. Go to Omnichannel => Current Chats
  2. Add some filter or just Clear all Filters to see all the chats
  3. Click to navigate between the pages

Expected Behavior:
After navigating between the pages it is supposed to refresh and display different chats

Actual Behavior:
Even clicking on any page option it doesn't refresh and the chats remain the same of the first page

Further comments

@murtaza98 murtaza98 requested review from a team and tiagoevanp and removed request for tiagoevanp December 28, 2021 11:13
@KevLehman
Copy link
Member

KevLehman commented Dec 28, 2021

@murtaza98 , is this a fix or a regression? Cause i'm not sure if it was working before candidate 🙈

@KevLehman
Copy link
Member

This is behaving a bit weird 🤔

  1. Filter by status is not working: current chats page is only showing closed chats. If you select "Open" from dropdown, it will rerender to show only closed ones.
  2. Filter by department is not working

Can you take a look at those? 👀

@yash-rajpal
Copy link
Member

yash-rajpal commented Dec 28, 2021

Yes, I think Filter by fields is not working as of now.

#23970 Fixes this issue. Please apply this fix and check if filter works. 👀

@KevLehman
Copy link
Member

Hey, I integrated the changes from the other PR into this one 👀 and fixed the Omni-specific issue.

Here, the issue is that both, GenericTable & FilterByText were trying to filter by params, and they were not liking each other. Moved the filters to GenericTable again should also fix it the issue on the other view 🤗

@murtaza98
Copy link
Contributor Author

New changes look good to me 👍 Just added a small change to remove the unused method. Thanks, guys!!

@murtaza98 murtaza98 merged commit 10278dd into develop Dec 30, 2021
@murtaza98 murtaza98 deleted the fix/current-chats-pagination-not-working branch December 30, 2021 09:38
@casalsgh casalsgh added this to the 4.3.1 milestone Dec 30, 2021
sampaiodiego pushed a commit that referenced this pull request Jan 5, 2022
Co-authored-by: Kevin Aleman <kevin.aleman@rocket.chat>
@sampaiodiego sampaiodiego mentioned this pull request Jan 5, 2022
gabriellsh added a commit that referenced this pull request Jan 19, 2022
…hat into improve/setup-wizard

* 'improve/setup-wizard' of github.com:RocketChat/Rocket.Chat:
  Regression: Fix handling of http requests in apps bridge (#24211)
  Bump version to 4.3.2
  [FIX] Integration section crashing opening in My Account (#24068)
  Chore: Update Apps-Engine to 1.29.2 (#24171)
  [FIX] App Framework Enable hanging indefinitely (#24158)
  [FIX] CSV Importer failing to import users (#24090)
  Fix Engagement Dashboard API requests (#24142)
  [FIX] MAU when using micro services (#24204)
  [IMPROVE] Limit recent emojis to 27 (#24210)
  Bump version to 4.3.1
  Bump Fuselage packages
  [FIX][APPS] Action buttons not removed when app is disabled or uninstalled (#24107)
  [FIX][APPS] Prevents emails from being sent when apps framework is disabled (#24105)
  [FIX] Ensure Firefox 91 ESR support (#24096)
  Chore: Update Livechat (#24091)
  [FIX] Omnichannel enabled setting not working when creating rooms (#24067)
  [FIX] Enter not working on modal's multi-line input (#23981)
  [FIX] Omnichannel Current chats pagination not working (#24039)
@sampaiodiego sampaiodiego mentioned this pull request Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants