-
Bug
-
Resolution: Fixed
-
Minor
-
2.8.5
-
None
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE
The Dataform index displays 1 for the entry count of every instance which has entries, even instances which have more than one entry.
Apparently, the culprit is in dataform::get_entry_count() which uses an incorrect parameter in the DB query. Around line 1062 in mod/dataform/classes/dataform.php, the parameter should be dataid instead of id.