[open-ils-commits] r16216 - in trunk/Open-ILS/web: js/ui/default/conify/global/acq templates/default/conify/global/acq (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 12 14:59:42 EDT 2010
Author: erickson
Date: 2010-04-12 14:59:37 -0400 (Mon, 12 Apr 2010)
New Revision: 16216
Modified:
trunk/Open-ILS/web/js/ui/default/conify/global/acq/provider.js
trunk/Open-ILS/web/templates/default/conify/global/acq/provider.tt2
Log:
enabled paging for provider invoices tab, fixed some related data order_by defs to be more useful in the provider detail page
Modified: trunk/Open-ILS/web/js/ui/default/conify/global/acq/provider.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/conify/global/acq/provider.js 2010-04-12 18:22:48 UTC (rev 16215)
+++ trunk/Open-ILS/web/js/ui/default/conify/global/acq/provider.js 2010-04-12 18:59:37 UTC (rev 16216)
@@ -76,19 +76,19 @@
padListGrid.overrideEditWidgets.provider = new
dijit.form.TextBox({disabled: 'true', value: providerId});
padListGrid.resetStore();
- padListGrid.loadAll({order_by:{acqlipad : 'provider'}}, {provider : providerId});
+ padListGrid.loadAll({order_by:{acqlipad : 'code'}}, {provider : providerId});
break;
case 'tab-hold':
phsListGrid.overrideEditWidgets.provider = new
dijit.form.TextBox({disabled: 'true', value: providerId});
phsListGrid.overrideEditWidgets.name = name;
phsListGrid.resetStore();
- phsListGrid.loadAll({order_by:{acqphsm : 'provider'}}, {provider : providerId});
+ phsListGrid.loadAll({order_by:{acqphsm : 'name'}}, {provider : providerId});
break;
case "tab-invoice":
invListGrid.resetStore();
invListGrid.loadAll(
- {"order_by": {"acqinv": "provider"}},
+ {"order_by": {"acqinv": "recv_date DESC"}},
{"provider": providerId}
);
break;
Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/provider.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/provider.tt2 2010-04-12 18:22:48 UTC (rev 16215)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/provider.tt2 2010-04-12 18:59:37 UTC (rev 16216)
@@ -217,6 +217,7 @@
fieldOrder="['inv_ident', 'receiver', 'shipper']"
suppressFields="['id', 'provider']"
query="{id: '*'}"
+ showPaginator='true'
fmClass="acqinv">
<thead>
<tr>
More information about the open-ils-commits
mailing list