[open-ils-commits] r17908 - trunk/Open-ILS/web/js/ui/default/cat/authority (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 22 23:18:16 EDT 2010


Author: dbs
Date: 2010-09-22 23:18:14 -0400 (Wed, 22 Sep 2010)
New Revision: 17908

Modified:
   trunk/Open-ILS/web/js/ui/default/cat/authority/list.js
Log:
Browse through 20 authority records at a time in management interface

The default browse list is set to 9 elements, but we have enough vertical
space to make use of more. Perhaps we should check the font size and
viewport height and then adjust accordingly, but that would be Hard.


Modified: trunk/Open-ILS/web/js/ui/default/cat/authority/list.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/cat/authority/list.js	2010-09-23 03:11:26 UTC (rev 17907)
+++ trunk/Open-ILS/web/js/ui/default/cat/authority/list.js	2010-09-23 03:18:14 UTC (rev 17908)
@@ -234,6 +234,7 @@
         + '/1' // replace with preceding line if OUs gain some meaning
         + '/' + dijit.byId('authTerm').attr('value')
         + '/' + dijit.byId('authPage').attr('value')
+        + '/' + '20' // 20 results per page
     ;
     dojo.xhrGet({"url":url, "handleAs":"xml", "content":{"format":"marcxml"}, "preventCache": true, "load":displayAuthorities });
 }



More information about the open-ils-commits mailing list