Explorar o código

customer list sql get fixed

robert2206 %!s(int64=8) %!d(string=hai) anos
pai
achega
c6babf16bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = [];