diff app/model/ProbeList.js @ 670:2927abe98b66

totalCountProperty
author Dustin Demuth <dustin@intevation.de>
date Thu, 19 Mar 2015 15:44:17 +0100
parents 0c1a9d7dd1e9
children e44070aa45d2
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