Acq: use the acqlimad table instead of its ancestor acqliad table to
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 20 Jan 2011 22:37:13 +0000 (22:37 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 20 Jan 2011 22:37:13 +0000 (22:37 +0000)
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.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19239 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/acq/common/li_table.js

index cb0e20f..5cea0d5 100644 (file)
@@ -2040,9 +2040,9 @@ function AcqLiTable() {
             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}
                         )
                     )
                 }