Openbravo Issue Tracking System - POS2
View Issue Details
0056896POS2POSpublic2024-10-24 18:202025-03-24 09:30
charlotte_vasseur 
sreehari 
normalminoralways
closedfixed 
5
 
25Q2 
approved
No
No
0056896: [PRODUCT] Filter pop-up: a value unselected before sorting is sorted anyway
In the filter product pop-up (category or characteristics) for a filter, if a value is selected and unselected, it is sorted anyway when using 'Selected/Unselected Ones First'
In POS
Go to Sales menu
Launch a product search in order to see the available filters
Select a value that is not the first nor the last one
Select another value that is not the first nor the last one
Select another value that is not the first nor the last one
(see 3 values selected.png)
Unselect the second value selected
(see 1 value unselected.png)
Click on the 'Sort by' button and select 'Selected Ones First'
=> The value unselected is sorted anyway (see Unselected filter sorted.png)

Same when sorting by 'Unselected Ones First' (see Unselected filter sorted 2.png)
No tags attached.
png 3 values selected.png (123,452) 2024-10-24 18:20
https://issues.openbravo.com/file_download.php?file_id=20376&type=bug
png

png 1 value unselected.png (123,136) 2024-10-24 18:20
https://issues.openbravo.com/file_download.php?file_id=20377&type=bug
png

png Unselected filter sorted.png (129,499) 2024-10-24 18:20
https://issues.openbravo.com/file_download.php?file_id=20378&type=bug
png

png Unselected filter sorted 2.png (137,659) 2024-10-24 18:20
https://issues.openbravo.com/file_download.php?file_id=20379&type=bug
png
Issue History
2024-10-24 18:20charlotte_vasseurNew Issue
2024-10-24 18:20charlotte_vasseurAssigned To => Retail
2024-10-24 18:20charlotte_vasseurFile Added: 3 values selected.png
2024-10-24 18:20charlotte_vasseurTriggers an Emergency Pack => No
2024-10-24 18:20charlotte_vasseurFile Added: 1 value unselected.png
2024-10-24 18:20charlotte_vasseurFile Added: Unselected filter sorted.png
2024-10-24 18:20charlotte_vasseurFile Added: Unselected filter sorted 2.png
2025-01-24 06:56guillermogilAssigned ToRetail => jorgewederago
2025-02-13 09:03jorgewederagoStatusnew => acknowledged
2025-02-18 10:50sreehariAssigned Tojorgewederago => sreehari
2025-02-18 10:50sreehariStatusacknowledged => scheduled
2025-02-19 10:00hgbotMerge Request Status => open
2025-02-19 10:00hgbotNote Added: 0175862
2025-02-20 04:22hgbotMerge Request Statusopen => approved
2025-02-20 04:23hgbotResolutionopen => fixed
2025-02-20 04:23hgbotStatusscheduled => closed
2025-02-20 04:23hgbotNote Added: 0175941
2025-02-20 04:23hgbotFixed in Version => 25Q2
2025-02-20 04:23hgbotNote Added: 0175942

Notes
(0175862)
hgbot   
2025-02-19 10:00   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1782 [^]
(0175941)
hgbot   
2025-02-20 04:23   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1782 [^]
(0175942)
hgbot   
2025-02-20 04:23   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 6371e8e268fe20af26e73cd6e52d93b5d7561e07
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 20-02-2025 03:01:38
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/commit/6371e8e268fe20af26e73cd6e52d93b5d7561e07 [^]

Fixes ISSUE-56896: Updated manageOptions to filter selected options
*now setPickAndExecuteSelectedOptions will set only the selected options

---
M web-jspack/org.openbravo.core2/src/components/PickAndExecutePopup/PickAndExecutePopup.jsx
---