details: https://code.openbravo.com/erp/devel/pi/rev/23c896bf9a39
changeset: 23887:23c896bf9a39
user: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date: Thu Jun 26 14:24:16 2014 +0530
summary: Fixes Issue 26684: Alert datasource has no pagination
Added pagination parameters to datasource request.
Since the request was done manually, the parameters had to be included.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
| 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r ba68aea40ed2 -r 23c896bf9a39
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
Thu Jun 26 11:30:10 2014 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
Thu Jun 26 14:24:16 2014 +0530
@@ -166,6 +166,8 @@
// fetch to the datasource with an empty criteria to get all the rows
requestProperties.params = requestProperties.params || {};
requestProperties.params[OB.Constants.WHERE_PARAMETER] =
this.getFilterClause();
+ requestProperties.params._startRow = 0;
+ requestProperties.params._endRow = this.dataPageSize;
requestProperties.clientContext = {
alertStatus: this.alertStatus
};
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits