From: erickson Date: Mon, 17 Aug 2009 20:09:47 +0000 (+0000) Subject: turned on paging for po list. set up the state filter differently so that the browse... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f106da80688d803e35484bb4450ac7e219828550;p=evergreen%2Fmasslnc.git turned on paging for po list. set up the state filter differently so that the browser won't choose a default value. no longer showing and fleshing the owner column since it was causing the render flickering... will reassess later. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13854 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/ui/default/acq/po/search.js b/Open-ILS/web/js/ui/default/acq/po/search.js index b50ff16baa..8b11201183 100644 --- a/Open-ILS/web/js/ui/default/acq/po/search.js +++ b/Open-ILS/web/js/ui/default/acq/po/search.js @@ -37,7 +37,7 @@ function doSearch(fields) { if(!some) fields.id = {'!=' : null}; poGrid.resetStore(); - poGrid.loadAll({order_by:{acqpo : 'edit_time DESC'}, limit: 30}, fields); + poGrid.loadAll({order_by:{acqpo : 'edit_time DESC'}}, fields); } function loadForm() { diff --git a/Open-ILS/web/templates/default/acq/po/search.tt2 b/Open-ILS/web/templates/default/acq/po/search.tt2 index 70222cb0a9..1a8d8111eb 100644 --- a/Open-ILS/web/templates/default/acq/po/search.tt2 +++ b/Open-ILS/web/templates/default/acq/po/search.tt2 @@ -1,4 +1,5 @@ [% WRAPPER default/base.tt2 %] +[% ctx.page_title = 'Purchase Orders' %]
PO Search
@@ -29,10 +30,25 @@ - + + @@ -49,15 +65,18 @@ dojoType="openils.widget.AutoGrid" query="{id: '*'}" fieldOrder="['id', 'owner', 'ordering_agency', 'provider', 'create_time', 'edit_time', 'state']" - suppressFields="['editor', 'creator']" + suppressFields="['owner', 'editor', 'creator']" query="{id: '*'}" defaultCellWidth='"auto"' showSequenceFields='true' + showPaginator='true' fmClass='acqpo'> ID +