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

UAI - In quantity getting unit as "kWh" in /select, /init calls which is irrelevant with search term #2798

Open
omkar-em opened this issue Dec 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@omkar-em
Copy link

Bug Description

In the UAI application, when searching for certain items, the quantity field is returning "kWh" as the unit. This unit is irrelevant to the search term, causing confusion and incorrect data presentation.

Steps to Reproduce

  1. Search for an item or service in the UAI application that is not related to energy or electricity. (eg : Tracktor)
  2. Observe the unit displayed in the quantity field, which shows "kWh" (kilowatt-hour), despite being irrelevant to the search term.

Path - responses[0].message.order.items[0].quantity.available.measure.unit

Expected Behavior

The unit in the quantity field should be relevant to the search term, displaying appropriate units for the selected product or service.

Actual Behavior

The unit "kWh" is displayed in the quantity field even when it is not relevant to the search term, leading to confusion.

Figma

NA

Environment

  • Prod

Screenshots/Logs

Image
Image

@shreyvishal
Copy link

shreyvishal commented Dec 20, 2024

Current Status: This issue is fixed
PR: Link

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants