[Lada-commits] [PATCH] totalCountProperty

Wald Commits scm-commit at wald.intevation.org
Thu Mar 19 15:26:30 CET 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1426776257 -3600
# Node ID 2927abe98b66934095341668f5be639ba7b365e8
# Parent  c34e6534657235c406d1048f5b997de3f52d93be
totalCountProperty

diff -r c34e65346572 -r 2927abe98b66 app/model/ProbeList.js
--- a/app/model/ProbeList.js	Thu Mar 19 13:36:14 2015 +0100
+++ b/app/model/ProbeList.js	Thu Mar 19 15:44:17 2015 +0100
@@ -18,14 +18,14 @@
     }],
 
     idProperty: 'id',
-    totalProperty: 'totalCount',
 
     proxy: {
         type: 'rest',
         url: 'lada-server/probe',
         reader: {
             type: 'json',
-            root: 'data'
+            root: 'data',
+            totalProperty: 'totalCount'
         }
     }
 });


More information about the Lada-commits mailing list