Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ab11fe4f
authored
Nov 30, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
filtering of TSV data
parent
bf92efd0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sails/src/assets/scripts/modules/student/controllers/reports.js
sails/src/assets/scripts/modules/student/controllers/reports.js
View file @
ab11fe4f
...
...
@@ -81,7 +81,7 @@ dashboardControllers.controller('StudentReportsCtrl', function StudentReportsCtr
if
(
$scope
.
selected_method
!=
'-1'
)
method_filter
=
JSON
.
parse
(
$scope
.
selected_method
);
tsvData
=
"method"
+
SEPARATOR
+
"instruction"
+
SEPARATOR
+
"instruction_begin"
+
SEPARATOR
+
"instruction_end"
+
SEPARATOR
+
"session_begin"
+
SEPARATOR
+
"session_end"
+
SEPARATOR
+
"try_begin"
+
SEPARATOR
+
"try_end"
+
SEPARATOR
+
"action"
+
SEPARATOR
+
"action_timestamp"
+
SEPARATOR
+
"action_expression\n"
;
data
=
$scope
.
fulldata
;
var
data
=
$scope
.
fulldata
;
for
(
var
i
=
0
;
i
<
data
.
methods
.
length
;
i
++
)
{
for
(
var
j
=
0
;
j
<
data
.
methods
[
i
].
instructions
.
length
;
j
++
)
{
if
(
data
.
methods
[
i
].
instructions
[
j
].
working_sessions
)
{
...
...
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