Browse Source

customer list sql get fixed

robert2206 8 years ago
parent
commit
c6babf16bc
1 changed files with 1 additions and 1 deletions
  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 = [];