Commit ecbdbc0f authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files

Merge branch '317-delete-the-export-column-room-page-favorite' into 'master'

Remove export column 'favorite'

Closes #317

See merge request !284
parents 1a0e81ab 07cfaf51
Pipeline #38097 passed with stages
in 7 minutes and 57 seconds
......@@ -130,7 +130,7 @@ export class CommentSettingsComponent implements OnInit {
}
const exportComments = JSON.parse(JSON.stringify(sortedComments));
let valueFields = '';
const fieldNames = ['room-page.question', 'room-page.timestamp', 'room-page.presented', 'room-page.favorite',
const fieldNames = ['room-page.question', 'room-page.timestamp', 'room-page.presented',
'room-page.correct/wrong', 'room-page.score', 'room-page.token', 'room-page.token-time'];
let keyFields = '';
this.translationService.get(fieldNames).subscribe(msgs => {
......@@ -145,7 +145,6 @@ export class CommentSettingsComponent implements OnInit {
time = Object.values(element).slice(4, 5);
valueFields += time[0].slice(0, 10) + '-' + time[0].slice(11, 16) + delimiter;
valueFields += Object.values(element).slice(5, 6) + delimiter;
valueFields += Object.values(element).slice(6, 7) + delimiter;
valueFields += Object.values(element).slice(7, 8) + delimiter;
valueFields += Object.values(element).slice(9, 10) + delimiter;
if (Object.values(element).length > 12) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment