Index: trunk/core/units/themes/themes_config.php =================================================================== diff -u -N -r8080 -r8099 --- trunk/core/units/themes/themes_config.php (.../themes_config.php) (revision 8080) +++ trunk/core/units/themes/themes_config.php (.../themes_config.php) (revision 8099) @@ -49,7 +49,9 @@ 'AutoDelete' => true, 'AutoClone' => true, - 'ListSQLs' => Array( '' => 'SELECT %1$s.* %2$s FROM %s'), + 'ListSQLs' => Array ('' => ' SELECT %1$s.* %2$s + FROM %s + LEFT JOIN '.TABLE_PREFIX.'Stylesheets st ON st.StylesheetId = %1$s.StylesheetId'), 'ItemSQLs' => Array ( '' => ' SELECT %1$s.* %2$s FROM %s LEFT JOIN '.TABLE_PREFIX.'Stylesheets st ON st.StylesheetId = %1$s.StylesheetId'),