Skip to content
Snippets Groups Projects
Commit 9498759d authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #14871 TIME 1 Improve action migration for 20.03

parent 3c8fafd1
No related branches found
No related tags found
No related merge requests found
......@@ -66,15 +66,14 @@ foreach ($customs as $custom) {
$actions[] = (string)$id;
}
}
// ACTIONS WITH STATUS
$actionsToMigrate = \SrcCore\models\DatabaseModel::select([
'select' => ['id_action'],
'table' => ['actions_groupbaskets, actions'],
'where' => ['group_id = ?', 'basket_id = ?', 'id_action = id', '(action_page = ? OR component = ? OR action_page = ?)'],
'data' => [$value['group_id'], 'IndexingBasket', 'confirm_status', 'confirmAction', "''"]
'where' => ['group_id = ?', 'basket_id = ?', 'id_action = id', '(action_page = ? OR action_page = ? OR component = ? OR action_page = ?)'],
'data' => [$value['group_id'], 'IndexingBasket', 'index_mlb', 'confirm_status', 'confirmAction', "''"]
]);
foreach ($actionsToMigrate as $item) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment