This commit is contained in:
Krivchikov Dmitry 2015-06-28 10:16:36 +03:00
parent a79ed2eba5
commit 8e277d2927
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class PageController extends Controller
}
// ------------------------------------------
$param = array();
$param['order']='id DESC';
if (App::getParam('category')) {
$param['where'] = 'categoryId = '.(int)App::getParam('category');