AL
Size: a a a
AL
VD
SQL > SELECT * FROM (SELECT * FROM `parnik`.`evo_sg_images` WHERE `sg_rid` IN (109,40,39,88,38,41,101,114,120,42,123) ORDER BY sg_index DESC LIMIT 4294967295) sg GROUP BY sg_rid
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sg.sg_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
АХ
VD
АХ
&sgDisplay=1не вышло, потому что https://github.com/Pathologic/SimpleGallery/blob/master/assets/snippets/simplegallery/controller/sg_site_content.php#L37 , и работало если
&sgDisplay=allи к примеру
&sgAddWhereList=sg_index=0, но это уже изврат, я плюнул и лучше поменяю sql_mode
ON
VD
ON
VD
ON
VD
VD
ON
VD
ON
ON
K
AL
МН