changeset 670:2927abe98b66

totalCountProperty
author Dustin Demuth <dustin@intevation.de>
date Thu, 19 Mar 2015 15:44:17 +0100
parents c34e65346572
children 08e3e7b80a34
files app/model/ProbeList.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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'
         }
     }
 });

http://lada.wald.intevation.org