merge r12809 from branch 2.3 to trunk
bug 2543 fixed: the representative_picture_id was missing in the SQL query for pwg.categories.getList git-svn-id: http://piwigo.org/svn/trunk@12810 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
c9f58763dc
commit
0184ddb3b9
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ function ws_categories_getList($params, &$service)
|
|||
SELECT id, name, permalink, uppercats, global_rank, id_uppercat,
|
||||
comment,
|
||||
nb_images, count_images AS total_nb_images,
|
||||
user_representative_picture_id, count_images, count_categories,
|
||||
representative_picture_id, user_representative_picture_id, count_images, count_categories,
|
||||
date_last, max_date_last, count_categories AS nb_categories
|
||||
FROM '.CATEGORIES_TABLE.'
|
||||
'.$join_type.' JOIN '.USER_CACHE_CATEGORIES_TABLE.' ON id=cat_id AND user_id='.$join_user.'
|
||||
|
|
Loading…
Reference in a new issue