[open-ils-commits] r17909 - branches/rel_2_0/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:58 EDT 2010


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

Modified:
   branches/rel_2_0/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: branches/rel_2_0/Open-ILS/web/js/ui/default/cat/authority/list.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/js/ui/default/cat/authority/list.js	2010-09-23 03:18:14 UTC (rev 17908)
+++ branches/rel_2_0/Open-ILS/web/js/ui/default/cat/authority/list.js	2010-09-23 03:18:55 UTC (rev 17909)
@@ -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