details:   https://code.openbravo.com/erp/devel/pi/rev/cdfad37a0634
changeset: 33784:cdfad37a0634
user:      Javier Armendáriz <javier.armendariz <at> openbravo.com>
date:      Tue Apr 10 18:43:21 2018 +0200
summary:   Fixed bug 38100: Link to parent trees hides non-active records when 
filtering.

Fixed by adding a parameter to prevent filtering of non-active records in
tree views. To ensure this parameter is used only in tree grid views, it is
passed as a parameter instead of hard-coding it in the DatasourceService.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
 |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r ef587ec4fac7 -r cdfad37a0634 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
        Sun Feb 11 13:47:02 2018 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
        Tue Apr 10 18:43:21 2018 +0200
@@ -91,6 +91,7 @@
       me.parentTabRecordId = me.getParentTabRecordId();
       dsRequest.params.parentRecordId = me.parentTabRecordId;
       dsRequest.params.tabId = me.view.tabId;
+      dsRequest.params._noActiveFilter = true;
       dsRequest.params._extraProperties = me.view.dataSource && 
me.view.dataSource.requestProperties.params._extraProperties;
       if (dsRequest.dropIndex || dsRequest.dropIndex === 0) {
         //Only send the index if the tree is ordered

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to