hotwax / inventory-count

HotWax Commerce Inventory Count
Apache License 2.0
16 stars 66 forks source link

Facility filter for Inventory count applies across sections and disables filter pane when no results are found #398

Closed Adameddy26 closed 3 months ago

Adameddy26 commented 3 months ago

Current behavior

The facility filter applied in one section is incorrectly affecting other sections. When a filter returns no results, the filter pane becomes disabled, preventing any further adjustments.

Expected behavior

The facility filter should only apply to the specific section where it was set and should not affect other sections. If a filter returns no results, the filter pane should remain accessible, allowing the user to modify the filter.

Steps to reproduce the issue

Login the app with valid user credentials. Apply a facility filter to a specific section. Switch to another section and observe if the facility filter is still applied. Apply a facility filter that returns no results. Try to reopen the filter pane after seeing no results.

Environment details

App version : INVENTORY-COUNT-2.0-E488779 App environment : DEV

Additional information

https://jam.dev/c/1fcac725-0b64-4a2a-a4ca-ed1ac34cf643

Adameddy26 commented 3 months ago

Verified the changes in DEV environment of App version INVENTORY-COUNT-2.0-E3C3701 @ymaheshwari1 It is found that after applying the filters when user opens the count and goes back, the filter conditions gets removed and all the results gets displayed there. https://jam.dev/c/39959deb-5284-41fd-8008-1e3ad3fca2af

Adameddy26 commented 3 months ago

Issue verified and working fine in DEV environment of App version inventory-count-2.0-9c89de2. Hence, closing this issue.