Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028857 | Openbravo ERP | A. Platform | public | 2015-02-03 19:23 | 2015-03-02 09:49 |
|
Reporter | caristu | |
Assigned To | inigosanchez | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR15Q3 | Fixed in Version | 3.0PR15Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0028857: In minimized view, the query-list widgets just sort the data in the client |
Description | In minimized view, the query-list widgets just sort the data in the client. So it is only showing the data being displayed locally, instead of requesting the data to the server.
|
Steps To Reproduce | 1) Use a query-list widget with more than 100 records. For example, using the Invoice To Collect window in an environment with more that 100 invoices pending to be collected.
2) In minimized view, sort the records. Notice that only the sorting is done with the records already displayed in the widget |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0029027 | | closed | caristu | In minimized view, the query-list widgets doesn't work as it's defined. | related to | defect | 0029026 | | closed | platform | In minimized view, the query-list widgets doesn't sort properly the data. | related to | defect | 0029025 | | closed | caristu | In maximized view, the query-list widgets doesn't load the data when it refreshed the browser. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-02-03 19:23 | caristu | New Issue | |
2015-02-03 19:23 | caristu | Assigned To | => AugustoMauch |
2015-02-03 19:23 | caristu | Modules | => Core |
2015-02-03 19:23 | caristu | Resolution time | => 1425423600 |
2015-02-03 19:23 | caristu | Triggers an Emergency Pack | => No |
2015-02-03 19:24 | caristu | Issue Monitored: networkb | |
2015-02-03 19:30 | caristu | version | => pi |
2015-02-04 09:02 | caristu | Summary | In minimized view, the widgets sorts the data in the client => In minimized view, the query-list widgets just sort the data in the client |
2015-02-04 09:02 | caristu | Description Updated | bug_revision_view_page.php?rev_id=7596#r7596 |
2015-02-04 09:02 | alostale | Assigned To | AugustoMauch => inigosanchez |
2015-02-04 09:03 | alostale | Status | new => scheduled |
2015-02-04 09:03 | alostale | fix_in_branch | => pi |
2015-02-23 13:30 | jonalegriaesarte | Target Version | 3.0PR15Q2 => 3.0PR15Q3 |
2015-02-25 01:00 | inigosanchez | Review Assigned To | => alostale |
2015-02-25 01:00 | inigosanchez | Resolution | open => fixed |
2015-02-25 01:00 | inigosanchez | fix_in_branch | pi => |
2015-02-25 01:01 | inigosanchez | Issue Monitored: alostale | |
2015-02-25 01:08 | hgbot | Checkin | |
2015-02-25 01:08 | hgbot | Note Added: 0074896 | |
2015-02-25 01:08 | hgbot | Status | scheduled => resolved |
2015-02-25 01:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9b61d12d49045f73e0323b4af95aa4a8e7ac9c43 [^] |
2015-02-25 01:10 | inigosanchez | Note Added: 0074897 | |
2015-02-25 01:10 | inigosanchez | Relationship added | related to 0029027 |
2015-02-25 01:11 | inigosanchez | Relationship added | related to 0029026 |
2015-02-25 01:11 | inigosanchez | Relationship added | related to 0029025 |
2015-02-25 21:22 | hudsonbot | Checkin | |
2015-02-25 21:22 | hudsonbot | Note Added: 0074946 | |
2015-03-02 09:49 | alostale | Note Added: 0075059 | |
2015-03-02 09:49 | alostale | Status | resolved => closed |
2015-03-02 09:49 | alostale | Fixed in Version | => 3.0PR15Q2 |
Notes |
|
(0074896)
|
hgbot
|
2015-02-25 01:08
|
|
Repository: erp/devel/pi
Changeset: 9b61d12d49045f73e0323b4af95aa4a8e7ac9c43
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Wed Feb 25 01:00:06 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9b61d12d49045f73e0323b4af95aa4a8e7ac9c43 [^]
Fixed issue 28857:Minimized view of query-list widgets sort data in the client
The problem was that in minimized view, the query-list widgets just sort the data
in the client. So it is only showing the data being displayed locally, instead of
requesting the data to the server.
This happens because "useClientSorting" was not setting properly. This is related
to the change of leaving of calculate total rows to improve performance.
Now, it works properly in minimized and maximized view because it has been setting
properly "useClientSorting" variable. The exceptional case is when the widget is in
minimized view and "ShowAllData" is not active. In this case, it will always make a
request for the data.
---
M modules/org.openbravo.client.querylist/web/org.openbravo.client.querylist/js/ob-querylist-widget.js
---
|
|
|
|
Test plan:
Create and refresh QueryList Widget with more than 100 rows and less than 100 rows:
* Show All Data active in minimized view.
* Show All Data active in maximized view.
* Show All Data inactive in minimized view.
* Show All Data inactive in maximized view.
NOTE: There is a problem sorting in one case. [When create a new widget for the first time]. This is related to the issue [1]. https://issues.openbravo.com/view.php?id=29027 [^] |
|
|
|
|
|
|
code reviewed
tested in all cases, note first time the widget is added defaults are not working properly see 0029027 |
|