detsta import improvements, procurement changes
This commit is contained in:
@@ -12,6 +12,7 @@ use common\models\Account;
|
||||
use common\models\ProductCategory;
|
||||
use backend\models\ProductStatisticsSearch;
|
||||
use PHPExcel;
|
||||
use yii\helpers\Url;
|
||||
|
||||
/**
|
||||
* ProductController implements the CRUD actions for Product model.
|
||||
@@ -47,6 +48,8 @@ class ProductController extends \backend\controllers\BackendController
|
||||
$searchModel = new ProductSearch();
|
||||
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
|
||||
|
||||
Url::remember(Url::current(),"product_index");
|
||||
|
||||
return $this->render('index', [
|
||||
'searchModel' => $searchModel,
|
||||
'dataProvider' => $dataProvider,
|
||||
|
||||
Reference in New Issue
Block a user