Openbravo Issue Tracking System - POS2
View Issue Details
0049870POS2POSpublic2022-07-22 12:502022-08-26 11:26
0049870: [22Q3] Product searches are not automatically erased
Once a string is used to to filter inside the Product Search input field, that string remains longer than expected since it is not erased.

It remains when a receipt is sold and even when logout and login is executed (and no filtering is applied even when the string is present)

Note: search should also be cleared after selling a ticket
0-Login POS2 as vallblanca.
1-Inside the product search input field, write "avalanche". Products will be propely filtered.
2-Logout and login as vallblanca.
3-Realise "avalanche" string is still in the search input field but no filtering is done.
Erase when it is required the written string
has duplicate defect 0049842 closed Retail After a sale, research on a product still active 
related to defect 0049851 closed meriem_azaf Scan in the search bar: the product details are not displayed 
png ProductSearchStays.png (141,450) 2022-07-22 12:50
Issue History
2022-07-22 12:50lorenzofidalgoNew Issue
2022-07-22 12:50lorenzofidalgoAssigned To => Retail
2022-07-22 12:50lorenzofidalgoFile Added: ProductSearchStays.png
2022-07-22 12:50lorenzofidalgoTriggers an Emergency Pack => No
2022-08-03 09:33rafarodaRelationship addedrelated to 0049842
2022-08-03 09:35rafarodaRelationship replacedhas duplicate 0049842
2022-08-03 15:12AugustoMauchAssigned ToRetail => ablasco
2022-08-03 15:12AugustoMauchStatusnew => scheduled
2022-08-03 22:51rafarodaSeverityminor => major
2022-08-03 22:51rafarodaTag Attached: FASH
2022-08-03 22:53rafarodaRelationship addedrelated to 0049851
2022-08-03 23:53AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=24580#r24580
2022-08-04 11:54hgbotNote Added: 0139892
2022-08-09 14:27hgbotNote Added: 0140006
2022-08-10 13:41hgbotNote Added: 0140045
2022-08-11 09:34ablascoNote Deleted: 0140045
2022-08-11 09:34ablascoNote Deleted: 0139892
2022-08-26 11:26hgbotResolutionopen => fixed
2022-08-26 11:26hgbotStatusscheduled => closed
2022-08-26 11:26hgbotFixed in Version => 22Q4
2022-08-26 11:26hgbotNote Added: 0140423
2022-08-26 11:26hgbotNote Added: 0140424

2022-08-09 14:27   
Merge Request created: [^]
2022-08-26 11:26   
Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: ed864d1f9228784e61851c75c559f590ff700665
Author: adrian.blasco <>
Date: 26-08-2022 11:25:59
URL: [^]

Fixes ISSUE-49870 Pos2 - Reset Product Search when Logout

When the user logs out the input text and the applied filters are now

A web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/ResetProductSearch.test.js
A web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/productSearch/ResetProductSearch.js
M web-jspack/org.openbravo.pos2/src/model/session/Session.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
2022-08-26 11:26   
Merge request merged: [^]