mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
merge r1983 from trunk to branch-1_7
category image order not correct git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1984 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -224,9 +224,9 @@ if ('categories' == $page['section'])
|
||||
)
|
||||
)
|
||||
{
|
||||
if ( !empty($result['image_order']) and !isset($page['super_order_by']) )
|
||||
if ( !empty($page['category']['image_order']) and !isset($page['super_order_by']) )
|
||||
{
|
||||
$conf[ 'order_by' ] = ' ORDER BY '.$result['image_order'];
|
||||
$conf[ 'order_by' ] = ' ORDER BY '.$page['category']['image_order'];
|
||||
}
|
||||
|
||||
if (isset($page['flat']))
|
||||
|
||||
Reference in New Issue
Block a user