Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030669Retail ModulesWeb POSpublic2015-08-26 05:452015-10-27 09:42
mtaal 
mtaal 
normalminorhave not tried
closedduplicate 
5
 
RR16Q1 
mtaal
No
0030669: Set default pagesize back to 300 and override where needed in hgvol read cases
In the merge of the hgvol branch the datalimit for several models was replaced with a constant set at 25 records. This was done for the models listed below.

The value of 25 shows to be too low in case of queries done for the local database it is also somewhat of an API change.

Constant definition:
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/diff/3bfd5690abf1/web/org.openbravo.mobile.core/source/data/ob-dal.js#l1.13 [^]

Example usage:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/diff/f829ed7fe8cc/web/org.openbravo.retail.posterminal/js/model/businesspartner.js#l1.7 [^]

Affected models:
web/org.openbravo.retail.posterminal/js/model/productcharacteristic.js: dataLimit: OB.Dal.DATALIMIT
web/org.openbravo.retail.posterminal/js/model/brand.js: dataLimit: OB.Dal.DATALIMIT
web/org.openbravo.retail.posterminal/js/model/bplocation.js: dataLimit: OB.Dal.DATALIMIT,
web/org.openbravo.retail.posterminal/js/model/order.js: dataLimit: OB.Dal.DATALIMIT,
web/org.openbravo.retail.posterminal/js/model/product-category.js: dataLimit: OB.Dal.DATALIMIT,
web/org.openbravo.retail.posterminal/js/model/bpcategory.js: dataLimit: OB.Dal.DATALIMIT
web/org.openbravo.retail.posterminal/js/model/returnreasons.js: dataLimit: OB.Dal.DATALIMIT
web/org.openbravo.retail.posterminal/js/model/salesrepresentative.js: dataLimit: OB.Dal.DATALIMIT
web/org.openbravo.retail.posterminal/js/model/product.js: dataLimit: OB.Dal.DATALIMIT,
web/org.openbravo.retail.posterminal/js/model/businesspartner.js: dataLimit: OB.Dal.DATALIMIT,
Two steps:
- set the default datalimit back to 300
- override the default in case of remote queries done to the backend, preferably even overrideable by a preference
No tags attached.
duplicate of feature request 0031212RR16Q1 closed migueldejuana Add a preference to control how many products/bp/address/tickets are loaded when searching 
Issue History
2015-08-26 05:45mtaalNew Issue
2015-08-26 05:45mtaalAssigned To => mtaal
2015-08-26 05:45mtaalTriggers an Emergency Pack => No
2015-08-26 22:47hgbotCheckin
2015-08-26 22:47hgbotNote Added: 0079765
2015-09-28 18:07mtaalTarget VersionRR15Q4 => RR16Q1
2015-10-27 09:42mtaalReview Assigned To => mtaal
2015-10-27 09:42mtaalRelationship addedduplicate of 0031212
2015-10-27 09:42mtaalStatusnew => closed
2015-10-27 09:42mtaalResolutionopen => duplicate

Notes
(0079765)
hgbot   
2015-08-26 22:47   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c789f4e7b179d2442632ae380f7dd9ccb0d081da
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Aug 26 05:47:09 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c789f4e7b179d2442632ae380f7dd9ccb0d081da [^]

Related to issue 30669: Set default pagesize back to 300 and override where needed in hgvol read cases
Set data limit back to 300

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---