enable/disable pagination in asset manager (#756)
This commit is contained in:
parent
a47c5b406d
commit
94f14353f4
3 changed files with 3 additions and 2 deletions
|
|
@ -10,6 +10,7 @@
|
|||
- added a new permission denied page for version tag approval
|
||||
- fixed: Thingy list type form elements do not support key/value pairs (SDH
|
||||
Consulting Group)
|
||||
- rfe: enable/disable pagination in asset manager (#756)
|
||||
- Removed cart icon from ViewCart macro.
|
||||
- Updated WebGUI::Shop::PayDriver::processTransaction() to accept a
|
||||
transaction as a param.
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ sub getManagerPaginator {
|
|||
;
|
||||
|
||||
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 $p = WebGUI::Paginator->new( $session, '', $rowsPerPage, 'pn', $currentPage );
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ WebGUI.AssetManager.initManager
|
|||
var assetPaginator = new YAHOO.widget.Paginator({
|
||||
containers : ['pagination'],
|
||||
pageLinks : 7,
|
||||
rowsPerPage : 25,
|
||||
rowsPerPage : 100,
|
||||
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue