浏览代码

customer list sql get fixed

robert2206 8 年之前
父节点
当前提交
c6babf16bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      www/js/controllers/customer.controller.js

+ 1 - 1
www/js/controllers/customer.controller.js

@@ -69,7 +69,7 @@ angular.module(
 
     // Get filtered customers for correct data visualization
     $scope.getCustomers = function (success, error) {
-        storage.getByConstraint('partner', 'customer = 1', function (customers) {
+        storage.getByConstraint('partner', 'customer = 1 AND modified != 2', function (customers) {
             console.log(customers);
             $scope.customers = [];