Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038416Retail ModulesWeb POSpublic2018-04-19 17:262018-05-21 15:20
inaki_garcia 
gorka_gil 
immediatemajoralways
closedfixed 
5
main 
RR18Q3 
marvintm
Production - QA Approved
main
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b28853a3c55b [^]
No
0038416: [RR18Q2] Sorting by fields in Advanced Filters of Search options doesn't work
All of the fields for the Advanced Filters (as tested in the Open Receipt search option) don't work at all. The receipts included in the masterdata don't respond to the sorting, and the
ones created during the QA cycle aren't fully sorted. Some of the observable basic sorting problems include:
- Some of the values are placed out of where they should be
- Sorting is sometimes inverted in the alphabetical order
This is reproducible with both the standard sorting and with the additional sorting preferences active. Both scenarios are explained in the steps to reproduce below
--- A SCENARIO ---
Preconditions: no sorting preferences are active

-- B SCENARIO ---
Preconditions: all of the sorting preferences are active
1- Login into Openbravo backend (http://{server}/{context}/ [^])
Username: vallblanca
Password: openbravo
2- Navigate to the Preference window
3-Create the following preference:
*Property: Open Receipt Selector Disable Business Partner Sorting
*Selected: 'Y'
*Value: 'N'
*Visibility: No filters.
4- Repeat step (3) for the following preferences:
*Open Receipt Selector Disable Document Number Sorting
*Open Receipt Selector Disable Order Date From Sorting
*Open Receipt Selector Disable Order Date To Sorting
*Open Receipt Selector Disable Order Type Sorting
*Open Receipt Selector Disable Total Amount From Sorting
*Open Receipt Selector Disable Total Amount To Sorting

0A. Log in as "vallblanca" in the VBS-1 terminal -- A scenario, as configured in the QA testing context
0B. Log in as "centralmountains" in the CMS-1 terminal -- B scenario, as configured in the QA testing context
1. Go to the "Open Receipt" option in the dropdown menu
2. Click on the "Advanced Filters" button
3. Switch the sorting buttons and click the "Apply Filters" button
4. Repeat steps 2 and 3 to test out all of the sorting options
5. NOTICE that there is little to no difference in the results list when sorting with any of the options
No tags attached.
depends on backport 0038492RR18Q2.1 closed gorka_gil [RR18Q2] Sorting by fields in Advanced Filters of Search options doesn't work 
Issue History
2018-04-19 17:26inaki_garciaNew Issue
2018-04-19 17:26inaki_garciaAssigned To => Retail
2018-04-19 17:26inaki_garciaRegression introduced in release => main
2018-04-19 17:26inaki_garciaTriggers an Emergency Pack => No
2018-04-20 09:23inaki_garciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17035#r17035
2018-04-20 11:09gorka_gilAssigned ToRetail => gorka_gil
2018-04-20 11:36inaki_garciaIssue cloned0038418
2018-04-30 18:15gorka_gilStatusnew => scheduled
2018-05-04 13:44gorka_gilStatusscheduled => acknowledged
2018-05-04 13:44gorka_gilStatusacknowledged => scheduled
2018-05-04 13:53hgbotCheckin
2018-05-04 13:53hgbotNote Added: 0104282
2018-05-04 13:53hgbotStatusscheduled => resolved
2018-05-04 13:53hgbotResolutionopen => fixed
2018-05-04 13:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9ed9446fcd2f1f75481fe6d279bb9d9487a1e04d [^]
2018-05-21 13:28marvintmReview Assigned To => marvintm
2018-05-21 13:28marvintmStatusresolved => closed
2018-05-21 13:28marvintmFixed in Version => RR18Q3
2018-05-21 15:20gorka_gilRegression level => Production - QA Approved
2018-05-21 15:20gorka_gilRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b28853a3c55b [^]

Notes
(0104282)
hgbot   
2018-05-04 13:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9ed9446fcd2f1f75481fe6d279bb9d9487a1e04d
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Thu May 03 19:29:21 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9ed9446fcd2f1f75481fe6d279bb9d9487a1e04d [^]

Fixes issue 38416: fix the sorting by in order selector

---
M src/org/openbravo/retail/posterminal/PaidReceiptsFilter.java
---