Clean up location and formatting of table filtering on flow table view.

Change-Id: I4eda382b53b4f2dd4285f2540de593744f63add5
diff --git a/web/gui/src/main/webapp/app/view/flow/flow.js b/web/gui/src/main/webapp/app/view/flow/flow.js
index b77b0e8..872a2d1 100644
--- a/web/gui/src/main/webapp/app/view/flow/flow.js
+++ b/web/gui/src/main/webapp/app/view/flow/flow.js
@@ -67,13 +67,12 @@
 
             Object.defineProperty($scope, "queryFilter", {
                get: function() {
-               var out = {};
-               out[$scope.queryBy || "$"] = $scope.query;
-               return out;
+                   var out = {};
+                   out[$scope.queryBy || "$"] = $scope.queryTxt;
+                   return out;
                }
             });
 
-
             $log.log('OvFlowCtrl has been created');
         }]);
 }());