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

Fix: Filter Out Inactive Agents in Assign To Dialog #1959

Conversation

UmakanthKaspa
Copy link
Contributor

Summary

This PR fixes a bug where inactive agents were showing up in the "Assign To" dialog in the Agent Portal.

Changes Made

  • Updated the dialog to filter out inactive agents, so only active ones appear in the list.

Screenshots

image

Before:
image
Inactive agents are shown in the list.

After:
image
Only active agents are shown.

@UmakanthKaspa UmakanthKaspa changed the title Fix: Filter Out Inactive Agents in Assignment Dialog Fix: Filter Out Inactive Agents in Assign To Dialog Sep 2, 2024
@RitvikSardana
Copy link
Member

Provided Solution to filter
image
This is the query which goes when you use the prop "value-field".

Expected
image

The correct way is to use the prop "search-field" which filters the data in the query.

Also while using props if the prop name is "searchField" while passing it as a prop you should sent it like "search-field".

@UmakanthKaspa
Copy link
Contributor Author

image

@RitvikSardana please check if this is okay?

@RitvikSardana
Copy link
Member

fixed via #1988

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.

2 participants