From 0908dcebe07b1696072d2824b760db46b868b789 Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Thu, 28 Aug 2014 13:26:12 -0400 Subject: [PATCH] BUG 15193 Error in PM Table Data Search option IMPROVEMENT --- workflow/engine/templates/pmTables/data.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/workflow/engine/templates/pmTables/data.js b/workflow/engine/templates/pmTables/data.js index d9cfc1b19..85bae78ab 100755 --- a/workflow/engine/templates/pmTables/data.js +++ b/workflow/engine/templates/pmTables/data.js @@ -84,7 +84,7 @@ Ext.onReady(function(){ contextMenu = new Ext.menu.Menu({ items : [ editButton, deleteButton ] }); - + searchText = new Ext.form.TextField ({ id: 'searchTxt', ctCls:'pm_search_text_field', @@ -398,7 +398,7 @@ Ext.onReady(function(){ ]; } else - tbar = [genDataReportButton, + tbar = [genDataReportButton, '->', appUidSearch, searchText, @@ -473,7 +473,8 @@ onMessageContextMenu = function (grid, rowIndex, e) { //Do Search Function DoSearch = function(){ infoGrid.store.setBaseParam('textFilter', searchText.getValue()); - infoGrid.store.load({params: {start : 0 , limit : pageSize , appUid : appUidSearch.getValue() }}); + infoGrid.store.setBaseParam('appUid', appUidSearch.getValue() ); + infoGrid.store.load() }; //Load Grid By Default @@ -482,7 +483,7 @@ GridByDefault = function(){ appUidSearch.reset(); infoGrid.store.setBaseParam('textFilter', searchText.getValue()); infoGrid.store.load(); -}; +}; //Capitalize String Function capitalize = function(s){