Commit c5ad45c7 by Carsten Brandt

fixed test break

parent 581aad8e
......@@ -37,7 +37,7 @@ class Order extends ActiveRecord
return $this->hasMany(Item::className(), ['id' => 'item_id'])
->via('orderItems', function ($q) {
// additional query configuration
})->orderBy('id');
})->orderBy('item.id');
}
public function getItemsInOrder1()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment