[-] FO : Fixed #PSCFV-2704 category position is now correct after upgrade, thanks to Conny !
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15903 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -39,4 +39,8 @@ ALTER TABLE `PREFIX_order_payment`
|
||||
UPDATE `PREFIX_employee`
|
||||
SET `id_last_order`= (SELECT max(`id_order`) FROM `PREFIX_orders`),
|
||||
`id_last_customer_message`= (SELECT max(`id_customer_message`) FROM `PREFIX_customer_message`),
|
||||
`id_last_customer`= (SELECT max(`id_customer`) FROM `PREFIX_customer`);
|
||||
`id_last_customer`= (SELECT max(`id_customer`) FROM `PREFIX_customer`);
|
||||
|
||||
UPDATE `PREFIX_category_shop` cs
|
||||
SET `position` = (SELECT `position` FROM `PREFIX_category` c WHERE cs.`id_category` = c.`id_category`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user