Skip to content

Commit

Permalink
Apply hideEmptyLimitstart on 3.x as well, yeah!
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienheraud committed Feb 21, 2019
1 parent d7062d4 commit 33feb04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/com_cck/views/list/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ protected function prepareDisplay( $preconfig )
include JPATH_SITE.'/libraries/cck/base/list/list_inc.php';
$pagination = $this->getModel()->_getPagination( $total_items );

if ( JCck::on( '3.9' ) ) {
$pagination->hideEmptyLimitstart = true;
}

// Set
if ( !is_object( @$options ) ) {
$options = new JRegistry;
Expand Down

0 comments on commit 33feb04

Please sign in to comment.