mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-66297 mod_forum: Added word/char count column headings to export
This commit is contained in:
parent
64da1d093a
commit
d3ae8d42ea
@ -114,7 +114,8 @@ if ($form->is_cancelled()) {
|
||||
$humandates = !empty($data->humandates);
|
||||
|
||||
$fields = ['id', 'discussion', 'parent', 'userid', 'created', 'modified', 'mailed', 'subject', 'message',
|
||||
'messageformat', 'messagetrust', 'attachment', 'totalscore', 'mailnow', 'deleted', 'privatereplyto'];
|
||||
'messageformat', 'messagetrust', 'attachment', 'totalscore', 'mailnow', 'deleted', 'privatereplyto',
|
||||
'wordcount', 'charcount'];
|
||||
|
||||
$datamapper = $legacydatamapperfactory->get_post_data_mapper();
|
||||
$exportdata = new ArrayObject($datamapper->to_legacy_objects($posts));
|
||||
|
Loading…
x
Reference in New Issue
Block a user