adjusted elasticsearch extension to version 1.0 of ES

breaking changes.
This commit is contained in:
Carsten Brandt
2014-05-06 18:14:32 +02:00
parent 76b3d89d83
commit 676b366928
14 changed files with 354 additions and 236 deletions

View File

@@ -14,6 +14,8 @@ use yii\elasticsearch\Command;
*/
class OrderItem extends ActiveRecord
{
public $total;
public function attributes()
{
return ['order_id', 'item_id', 'quantity', 'subtotal'];