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
d75ca9db
authored
Nov 30, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
filtering of TSV data
parent
55b9c6f3
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 @
d75ca9db
...
...
@@ -80,7 +80,7 @@ dashboardControllers.controller('StudentReportsCtrl', function StudentReportsCtr
var
method_filter
=
-
1
;
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"
+
"try_result"
+
SEPARATOR
+
"action"
+
SEPARATOR
+
"action_timestamp"
+
SEPARATOR
+
"action_expression\n"
;
tsvData
=
"method"
+
SEPARATOR
+
"instruction"
+
SEPARATOR
+
"instruction_begin"
+
SEPARATOR
+
"instruction_end"
+
SEPARATOR
+
"session_begin"
+
SEPARATOR
+
"session_end"
+
SEPARATOR
+
"try_begin"
+
SEPARATOR
+
"try_end"
+
SEPARATOR
+
"try_result"
+
SEPARATOR
+
"action"
+
SEPARATOR
+
"action_timestamp"
+
SEPARATOR
+
"action_expression\n"
;
var
data
=
$scope
.
fulldata
;
for
(
var
i
=
0
;
i
<
data
.
methods
.
length
;
i
++
)
{
for
(
var
j
=
0
;
j
<
data
.
methods
[
i
].
instructions
.
length
;
j
++
)
{
...
...
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