Set config.maxrecs rather than config.perpage.
authorMike Taylor <mike@indexdata.com>
Thu, 3 Apr 2014 15:51:33 +0000 (16:51 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 3 Apr 2014 15:51:33 +0000 (16:51 +0100)
src/mkws-widget-record.js

index 3d15fbc..5f333e0 100644 (file)
@@ -1,4 +1,4 @@
 mkws.registerWidgetType('Record', function() {
     mkws.promotionFunction('Records').call(this);
-    this.config.perpage = 1;
+    this.config.maxrecs = 1;
 });