소스 검색

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 = [];