Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Alto
/
rkn
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit ab1f4534
authored
2021-06-07 12:24:43 +0300
by
Скуратович Александр
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
47deb47d
87cc8e45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
controllers/HostFreeController.php
controllers/HostFreeController.php
View file @
ab1f453
...
@@ -5,6 +5,7 @@ namespace app\controllers;
...
@@ -5,6 +5,7 @@ namespace app\controllers;
use
Yii
;
use
Yii
;
use
app\models\Host
;
use
app\models\Host
;
use
app\models\HostSearch
;
use
app\models\HostSearch
;
use
app\models\Filter
;
use
yii\filters\AccessControl
;
use
yii\filters\AccessControl
;
use
yii\web\Controller
;
use
yii\web\Controller
;
use
yii\web\NotFoundHttpException
;
use
yii\web\NotFoundHttpException
;
...
@@ -45,7 +46,7 @@ class HostFreeController extends Controller
...
@@ -45,7 +46,7 @@ class HostFreeController extends Controller
*/
*/
public
function
actionIndex
()
public
function
actionIndex
()
{
{
$searchModel
=
new
HostSearch
([
'wis_status'
=>
1
]);
$searchModel
=
new
HostSearch
([
'wis_status'
=>
Host
::
STATUS_WIS_FREE
,
'status'
=>
Filter
::
STATUS_ON
]);
$dataProvider
=
$searchModel
->
search
(
Yii
::
$app
->
request
->
queryParams
);
$dataProvider
=
$searchModel
->
search
(
Yii
::
$app
->
request
->
queryParams
);
return
$this
->
render
(
'index'
,
[
return
$this
->
render
(
'index'
,
[
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment