itamart / moodle-mod_dataform

The Dataform is an enhanced counterpart of the standard Database activity module
17 stars 19 forks source link

Entire HTML node exported for Entry state field types from CSV view with version 3.3.2 on Totara 12 #21

Open logan-reynolds opened 4 years ago

logan-reynolds commented 4 years ago

When data on the page is exported using the "Export all" or "Export page" links from CSV view using mod_dataform release 3.3.2 on Totara 12, Entry state field types are exported with the surrounding HTML node present, instead of just the inner HTML value of that field. The hope is that this can be corrected in a future release so that for example the value of "Accepted" would be exported for the given field, instead of the following entire node:

<span class="entrystate Accepted currentstate">Accepted</span>

Noting this is happening on Totara 12 which is based on Moodle 3.3, so we cannot upgrade to newer mod_dataform 3.5.5.