enable/disable pagination in asset manager (#756)

This commit is contained in:
JT Smith 2008-10-10 15:51:44 +00:00
parent a47c5b406d
commit 94f14353f4
3 changed files with 3 additions and 2 deletions

View file

@ -10,6 +10,7 @@
- added a new permission denied page for version tag approval - added a new permission denied page for version tag approval
- fixed: Thingy list type form elements do not support key/value pairs (SDH - fixed: Thingy list type form elements do not support key/value pairs (SDH
Consulting Group) Consulting Group)
- rfe: enable/disable pagination in asset manager (#756)
- Removed cart icon from ViewCart macro. - Removed cart icon from ViewCart macro.
- Updated WebGUI::Shop::PayDriver::processTransaction() to accept a - Updated WebGUI::Shop::PayDriver::processTransaction() to accept a
transaction as a param. transaction as a param.

View file

@ -104,7 +104,7 @@ sub getManagerPaginator {
; ;
my $recordOffset = $session->form->get( 'recordOffset' ) || 1; my $recordOffset = $session->form->get( 'recordOffset' ) || 1;
my $rowsPerPage = $session->form->get( 'rowsPerPage' ) || 25; my $rowsPerPage = $session->form->get( 'rowsPerPage' ) || 100;
my $currentPage = int ( $recordOffset / $rowsPerPage ) + 1; my $currentPage = int ( $recordOffset / $rowsPerPage ) + 1;
my $p = WebGUI::Paginator->new( $session, '', $rowsPerPage, 'pn', $currentPage ); my $p = WebGUI::Paginator->new( $session, '', $rowsPerPage, 'pn', $currentPage );

View file

@ -189,7 +189,7 @@ WebGUI.AssetManager.initManager
var assetPaginator = new YAHOO.widget.Paginator({ var assetPaginator = new YAHOO.widget.Paginator({
containers : ['pagination'], containers : ['pagination'],
pageLinks : 7, pageLinks : 7,
rowsPerPage : 25, rowsPerPage : 100,
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}" template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"
}); });