From 98194362f2282f7a6aeae9479cabd1202eecc0c6 Mon Sep 17 00:00:00 2001
From: erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Thu, 18 Nov 2010 15:36:18 +0000
Subject: [PATCH] fetch more than the default 10 (per page) distrib formulas; 
 500 is arbitrary, but still notably less than the infinity that was in effect
 before paging.  todo: research optiosn for using the new
 autofieldwidget/dojo/pcrud-store instead

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18780 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/web/js/ui/default/acq/common/li_table.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js
index 3e13d6f32d..42fca003e2 100644
--- a/Open-ILS/web/js/ui/default/acq/common/li_table.js
+++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js
@@ -1274,13 +1274,14 @@ function AcqLiTable() {
      * This method formerly would not refetch the DF formulas if they'd been
      * loaded already, but now it always re-fetches, since use_count changes.
      */
+    /** TODO: port distrib-formula selector to autofieldwidget+pcrud/dojo store */
     this._fetchDistribFormulas = function(onload) {
         fieldmapper.standardRequest(
             ["open-ils.acq",
                 "open-ils.acq.distribution_formula.ranged.retrieve.atomic"],
             {
                 "async": true,
-                "params": [openils.User.authtoken],
+                "params": [openils.User.authtoken, 0, 500],
                 "oncomplete": function(r) {
                     self.distribForms = openils.Util.readResponse(r);
                     if(!self.distribForms || self.distribForms.length == 0) {
-- 
2.11.0