[open-ils-commits] r19240 - branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common (senator)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 20 17:37:52 EST 2011


Author: senator
Date: 2011-01-20 17:37:46 -0500 (Thu, 20 Jan 2011)
New Revision: 19240

Modified:
   branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common/li_table.js
Log:
Backport r19239 from trunk

Acq: use the acqlimad table instead of its ancestor acqliad table to
populate a dropdown for the Export Single Attribute List function of lists
of lineitems

The acqliad table may appear to have duplicate entries since it's a parent, and
the point of the function that's trying to use it is just to export lists of
ISBNs or UPCs, so acqlimad is a better fit.


Modified: branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common/li_table.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common/li_table.js	2011-01-20 22:37:13 UTC (rev 19239)
+++ branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common/li_table.js	2011-01-20 22:37:46 UTC (rev 19240)
@@ -2040,9 +2040,9 @@
             var self = this;
             acqLitExportAttrSelector.store = new dojo.data.ItemFileReadStore(
                 {
-                    "data": acqliad.toStoreData(
+                    "data": acqlimad.toStoreData(
                         this.pcrud.search(
-                            "acqliad", {"code": li_exportable_attrs}
+                            "acqlimad", {"code": li_exportable_attrs}
                         )
                     )
                 }



More information about the open-ils-commits mailing list