Skip to content

Admin Grid selection issue - Magento 2.3.4 #34948

Open
@JDhere

Description

@JDhere

Preconditions (*)

  1. Magento Version 2.4.3.
  2. Have some orders in sales order add.

Steps to reproduce (*)

  1. Go to admin panel->Sales->Orders
  2. Search for a particular increment id in the search bar.
  3. Then the result of that order field will be displayed(1 result).
  4. Select the rendered result.
  5. Now search for another increment id in the search bar
  6. Select the displayed result
  7. Clear all the filters
  8. It will move to the original grid view, now all the checkboxes will be deselected

Expected result (*)

  1. The grid should select only the selected result and keep all other fields unchecked.

Actual result (*)

  1. When the admin grid is rendered after removing the filters it deselects all the selected orders

PS

As discussed in the comments,
The issue is recreated in a different way in the latest magento release.

Magento Version: 2.4.3-p1

Steps to reproduce

  1. Go to Sales->Orders
  2. In the grid copy a increment id and paste it in the search field and perform search operation.
  3. Now select the record(only 1 will be displayed)
  4. Now remove the filter
  5. Now the selected record will be removed

Expected result

While removing the filter the selected record which was selected in the search operation should also be selected.

Actual Result

The selection is removed when the filter is removed.

Reproduced in Magento 2.4.x:

mageto-admin-grid-bug

And as discussed in the comments that this is not a bug and its the intended method, we need a solution to fix this or improvise this in future.
Consider the use case scenario:

The user is changing the status of order by referring to his list.

The user opens the admin panel-> Then searches for an increment id-> Selects it-> Then again searches for an increment id-> selects it-> This goes on till his list is completed

Then he is performing the mass action eg: hold.
So in this case the purpose of mass action will itself get failed with the current bug!


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions