Pagination fix
This commit is contained in:
@ -156,7 +156,7 @@ class Pagination extends Template {
|
|||||||
$pageData = (object) $pageData;
|
$pageData = (object) $pageData;
|
||||||
|
|
||||||
if ( self::totalPages() <= 1 ) {
|
if ( self::totalPages() <= 1 ) {
|
||||||
Components::set( 'PAGINATION', 'no pagination' );
|
Components::set( 'PAGINATION', '' );
|
||||||
} else {
|
} else {
|
||||||
Components::set( 'PAGINATION', Views::simpleView( 'nav.pagination', $pageData ) );
|
Components::set( 'PAGINATION', Views::simpleView( 'nav.pagination', $pageData ) );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user