Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ARC-Support
public projects
lou-server
Commits
b1a533e5
Commit
b1a533e5
authored
Jun 15, 2021
by
Maik Messerschmidt
Browse files
Fixed syntax bug (hopefully).
parent
a363bc49
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/ResultController.php
View file @
b1a533e5
...
...
@@ -21,7 +21,7 @@ class ResultController extends Controller
*
* Needed to avoid including the 'data' field, which can get very large.
*/
private
rowsForIndex
=
[
const
ROWS_FOR_INDEX
=
[
"id"
,
"experiment"
,
"created_at"
,
...
...
@@ -35,7 +35,7 @@ class ResultController extends Controller
* @return \Illuminate\Http\Response
*/
public
function
index
()
{
$results
=
Result
::
select
(
$this
->
rowsForIndex
)
$results
=
Result
::
select
(
self
::
ROWS_FOR_INDEX
)
->
where
(
'partial'
,
false
)
->
get
();
...
...
@@ -43,7 +43,7 @@ class ResultController extends Controller
}
public
function
indexPartial
()
{
$results
=
Result
::
select
(
$this
->
rowsForIndex
)
$results
=
Result
::
select
(
self
::
ROWS_FOR_INDEX
)
->
where
(
'partial'
,
true
)
->
get
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment