transfer_to_new_table

This commit is contained in:
SoHardKI
2019-06-27 15:41:58 +03:00
parent 0955e40eac
commit 0a9600cb00
11 changed files with 45 additions and 28 deletions

View File

@ -3,6 +3,7 @@
namespace backend\modules\project\controllers;
use common\models\FieldsValue;
use common\models\FieldsValueNew;
use common\models\Hh;
use common\models\HhJob;
use common\models\ProjectUser;
@ -72,7 +73,9 @@ class ProjectController extends Controller
$dataProvider = new ActiveDataProvider([
'query' => FieldsValue::find()->where(['project_id' => $id])->orderBy('order'),
'query' => FieldsValueNew::find()
->where(['item_id' => $id, 'item_type' => FieldsValueNew::TYPE_PROJECT])
->orderBy('order'),
'pagination' => [
'pageSize' => 200,
],