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 87cc8e45
authored
2021-06-07 11:45:51 +0300
by
san58
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
отфильтровал список результатов
1 parent
7ffe17b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
controllers/HostFreeController.php
controllers/HostFreeController.php
View file @
87cc8e4
...
@@ -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