mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-04 09:00:46 +08:00
adjusted elasticsearch extension to version 1.0 of ES
breaking changes.
This commit is contained in:
@@ -14,6 +14,8 @@ use yii\elasticsearch\Command;
|
||||
*/
|
||||
class OrderItem extends ActiveRecord
|
||||
{
|
||||
public $total;
|
||||
|
||||
public function attributes()
|
||||
{
|
||||
return ['order_id', 'item_id', 'quantity', 'subtotal'];
|
||||
|
||||
Reference in New Issue
Block a user