albums pagination bug



example
photos page albums block view all doesn't work it takes you to
m/photos/albums/browse

it should be
m/photos/albums/browse/all

/inc/classes/BxDolFilesPageHome.php

function getBlockCode_Albums ()
    {
        $this->oSearch->clearFilters(array('activeStatus', 'allow_view', 'album_status', 'albumType', 'ownerStatus'), array('albumsObjects', 'albums'));
        $aAlbumParams = array(
            'allow_view' => $this->aVisible,
            'obj_count' => array('min' => (int)$this->oConfig->getGlParam('number_albums_public_objects') - 1)
        );
        $aCustom = array(
            'paginate_url' => BX_DOL_URL_ROOT . $this->oConfig->getBaseUri() . 'home',
            'simple_paginate_url' => BX_DOL_URL_ROOT . $this->oConfig->getBaseUri() . 'albums/browse/all',
        );
        $aCode = $this->oSearch->getAlbumsBlock(array(), $aAlbumParams, $aCustom);
        if ($this->oSearch->aCurrent['paginate']['totalAlbumNum'] > 0)
            return $aCode;
        else
            return MsgBox(_t('_Empty'));
    }

alp.JPG · 8K · 433 views
Quote · 28 Dec 2012

http://www.boonex.com/trac/dolphin/ticket/2979

Quote · 28 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.