Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023308Openbravo ERP00. Application dictionarypublic2013-03-14 14:162013-03-21 23:36
AugustoMauch 
AugustoMauch 
normalminorrandom
closedfixed 
5
 
3.0MP22 
dbaz
Core
No
0023308: It is not possible to filter a Time column in Query Widgets
If a query widget has a time column and is opened in grid mode, filtering the time column will only work once.
- Create a Query Widget with a Time column (or use the Avaialability Resource widget of the org.openbravo.module.resources module).
- Add the widget to the workplace.
- Open it in grid view and filter any of the time columns. Check that the filter is triggered only the first time.
No tags attached.
related to design defect 0023582 new AugustoMauch DateTime query list widget filter columns doesn't work 
Issue History
2013-03-14 14:16AugustoMauchNew Issue
2013-03-14 14:16AugustoMauchAssigned To => AugustoMauch
2013-03-14 14:16AugustoMauchModules => Core
2013-03-14 14:16AugustoMauchTriggers an Emergency Pack => No
2013-03-14 16:25AugustoMauchIssue Monitored: dbaz
2013-03-14 16:25AugustoMauchReview Assigned To => dbaz
2013-03-14 16:26hgbotCheckin
2013-03-14 16:26hgbotNote Added: 0057260
2013-03-14 16:26hgbotStatusnew => resolved
2013-03-14 16:26hgbotResolutionopen => fixed
2013-03-14 16:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6f316468c5e7ad4658488e3bc0791544b49965c1 [^]
2013-03-21 23:36dbazNote Added: 0057379
2013-03-21 23:36dbazStatusresolved => closed
2013-03-21 23:36dbazFixed in Version => 3.0MP22
2013-04-18 17:13AugustoMauchRelationship addedrelated to 0023582

Notes
(0057260)
hgbot   
2013-03-14 16:26   
Repository: erp/devel/pi
Changeset: 6f316468c5e7ad4658488e3bc0791544b49965c1
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Mar 14 15:07:44 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6f316468c5e7ad4658488e3bc0791544b49965c1 [^]

Fixes issue 23308: It is possible to filter a time column in query widgets

The problem was that for OB time references, when they were being filtered in query widgets only the Date part was compared, but not the time part (time columns are handled internally l
ike date time columns). This happened because smartclient did not recognized them as Time columns. This has been fixed by overwriting the compareDates smartclient function.

---
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
(0057379)
dbaz   
2013-03-21 23:36   
Reviewed @ changeset: 19954 - 11600ac7d1e4