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

Issue 47257: Cannot delete samples from a grid that has a filter applied #1104

Merged
merged 7 commits into from
Feb 14, 2023

Conversation

cnathe
Copy link
Contributor

@cnathe cnathe commented Feb 14, 2023

Rationale

https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=47257

There are two API actions that we do in our apps that make use of the snapshotSelections: getCrossFolderSelectionResult() and get[Entity]OperationConfirmationData(). In the case where these APIs are called using a selectionKey to get the selected row's primary keys, it is important that the call to setSnapshotSelections() has been made if there were also grid/model filters applied by the user. This PR adds those calls to setSnapshotSelections() to the various usages.

Related Pull Requests

Changes

  • make sure setSnapshotSelections() is called before selectionKey based call to getCrossFolderSelectionResult()

…tionKey based call to getCrossFolderSelectionResult() and getDeleteConfirmationData()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue 47257: Cannot delete samples from a grid that has a filter applied
2 participants