mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-66297 mod_forum: Added word/char count column headings to export
This commit is contained in:
parent
64da1d093a
commit
d3ae8d42ea
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@ if ($form->is_cancelled()) {
|
||||||
$humandates = !empty($data->humandates);
|
$humandates = !empty($data->humandates);
|
||||||
|
|
||||||
$fields = ['id', 'discussion', 'parent', 'userid', 'created', 'modified', 'mailed', 'subject', 'message',
|
$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();
|
$datamapper = $legacydatamapperfactory->get_post_data_mapper();
|
||||||
$exportdata = new ArrayObject($datamapper->to_legacy_objects($posts));
|
$exportdata = new ArrayObject($datamapper->to_legacy_objects($posts));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue