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

[Inventory] Products duplicated and not sorted alphabetically #12670

Closed
BethanOFN opened this issue Jul 15, 2024 · 0 comments · Fixed by #12680
Closed

[Inventory] Products duplicated and not sorted alphabetically #12670

BethanOFN opened this issue Jul 15, 2024 · 0 comments · Fixed by #12680
Assignees
Labels
bug-s3 The bug is stopping a critical or non-critical feature but there is a usable workaround.

Comments

@BethanOFN
Copy link

BethanOFN commented Jul 15, 2024

Description

Users who use the inventory have contacted us because the inventory tool no longer displays Products in alphabetical order. For users with large inventories, this makes using the tool frustrating. This lack of sorting is evident on both the old UI and the new UI. Some products are also duplicated, despite only one product existing (see below). This is especially confusing and makes the inventory unusable, in the words of the user, as the inventory is therefore flooded with duplicates.

Expected Behavior

When accessing the inventory, products should be sorted alphabetically to make managing the inventory simpler. Each single product should appear in the inventory once.

Actual Behaviour

There is no sorting applied. Some products are duplicated.

Steps to Reproduce

  1. Go to Inventory

  2. Observe that products are not shown in alphabetical order (all enterprises)

  3. Observe that some products are duplicated (e.g. product 'Lettuce, Batavia - UK (org)' id=213045, under Cambridge Food Hub id=201177)
    Duplicate inventory

  4. Any changes made to either duplicate product are replicated on the other duplicate.

  5. Observe in the Products list that only one product exists for 'Lettuce, Batavia - UK (org)'

Animated Gif/Screenshot

Example of other duplicated products:
Screenshot 2024-07-15 at 11 10 24

Workaround

Searching for product

Severity

bug-s3 - Users are finding this frustrating and are confused why the products are now shown in a random order. I have checked other user's inventories and confirmed that the issue is not unique to Cambridge Food Hub for product duplication.

Your Environment

  • Version used: UK prod - lack of sorting and duplication evident in both new and old UI
  • Browser name and version: Firefox and Chrome, both up to date.
  • Operating System and version (desktop or mobile):

Possible Fix

Revert to alphabetical sorting of products

@github-project-automation github-project-automation bot moved this to All the things 💤 in OFN Delivery board Jul 15, 2024
@rioug rioug added the bug-s3 The bug is stopping a critical or non-critical feature but there is a usable workaround. label Jul 17, 2024
@rioug rioug self-assigned this Jul 17, 2024
@rioug rioug moved this from All the things 💤 to In Progress ⚙ in OFN Delivery board Jul 17, 2024
@github-project-automation github-project-automation bot moved this from In Progress ⚙ to Done in OFN Delivery board Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-s3 The bug is stopping a critical or non-critical feature but there is a usable workaround.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants