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 d2576c57
authored
2021-06-07 13:22:25 +0300
by
Скуратович Александр
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
+
1 parent
001496b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
controllers/HostFreeController.php
controllers/HostFreeController.php
View file @
d2576c5
...
@@ -46,11 +46,8 @@ class HostFreeController extends Controller
...
@@ -46,11 +46,8 @@ class HostFreeController extends Controller
*/
*/
public
function
actionIndex
()
public
function
actionIndex
()
{
{
/*'wis_status' => Host::STATUS_WIS_FREE, 'status' => Filter::STATUS_ON */
$searchModel
=
new
HostSearch
([
'wis_status'
=>
Host
::
STATUS_WIS_FREE
,
'status'
=>
Filter
::
STATUS_ON
]);
$params
=
Yii
::
$app
->
request
->
queryParams
;
$dataProvider
=
$searchModel
->
search
(
Yii
::
$app
->
request
->
queryParams
);
$params
[
'wis_status'
]
=
Host
::
STATUS_WIS_FREE
;
$searchModel
=
new
HostSearch
();
$dataProvider
=
$searchModel
->
search
(
$params
);
return
$this
->
render
(
'index'
,
[
return
$this
->
render
(
'index'
,
[
'searchModel'
=>
$searchModel
,
'searchModel'
=>
$searchModel
,
...
...
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