diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 15e6ce15e71..2b3b11d2ea1 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -125,6 +125,9 @@ Release 2.7.1 - UNRELEASED YARN-3701. Isolating the error of generating a single app report when getting all apps from generic history service. (Zhijie Shen via xgong) + YARN-2238. filtering on UI sticks even if I move away from the page. + (Jian He via xgong) + Release 2.7.0 - 2015-04-20 INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/view/JQueryUI.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/view/JQueryUI.java index 6a64d1cd332..9abfdac7e0f 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/view/JQueryUI.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/view/JQueryUI.java @@ -113,8 +113,12 @@ public class JQueryUI extends HtmlBlock { protected void initDataTables(List list) { String defaultInit = "{bJQueryUI: true, sPaginationType: 'full_numbers'}"; String stateSaveInit = "bStateSave : true, " + - "\"fnStateSave\": function (oSettings, oData) { " + - "sessionStorage.setItem( oSettings.sTableId, JSON.stringify(oData) ); }, " + + "\"fnStateSave\": function (oSettings, oData) { " + + " data = oData.aoSearchCols;" + + "for(i =0 ; i < data.length; i ++) {" + + "data[i].sSearch = \"\"" + + "}" + + " sessionStorage.setItem( oSettings.sTableId, JSON.stringify(oData) ); }, " + "\"fnStateLoad\": function (oSettings) { " + "return JSON.parse( sessionStorage.getItem(oSettings.sTableId) );}, ";