Moodle

Participation Report not keeping Action selected

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 1.9.1
  • Fix Version/s: None
  • Component/s: General, Other
  • Labels:
    None
  • Environment:
    1.9.1+ (Build 20080619)
    php 5.1.6
  • Database:
    PostgreSQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

We have just upgraded to 1.9.1+
The Reports > Participation report "Show action" dropdown is not affective.
I select an Activity from the 'Activity module' dropdown, leave the 'Look Back' and the 'Show only' selections, select one of the 'Show actions' options (e.g. 'View) and when I click the 'Go' button the 'Show actions' reverts to "All Actions". We need to know how many times someone has POSTED to a forum and do not want all actions which includes VIEWS.

Issue Links

Activity

Hide
Clinton Graham added a comment -

In course/report/participation/index.php,v 1.20.2.4 2008/04/02 06:10:00 dongsheng

Line 46:
if (!in_array($action, $actionoptions)) {
should be
if (!array_key_exists($action, $actionoptions)) {

Show
Clinton Graham added a comment - In course/report/participation/index.php,v 1.20.2.4 2008/04/02 06:10:00 dongsheng Line 46: if (!in_array($action, $actionoptions)) { should be if (!array_key_exists($action, $actionoptions)) {
Hide
Philip Cali added a comment -

Yes, instructors at our university discovered this bug as well. We went ahead and created a patch. We run 1.9.2.

Show
Philip Cali added a comment - Yes, instructors at our university discovered this bug as well. We went ahead and created a patch. We run 1.9.2.
Hide
Molly McManus added a comment -

This patch seems to work for forum posts, but we are still having trouble viewing POSTS to the WIKI

Show
Molly McManus added a comment - This patch seems to work for forum posts, but we are still having trouble viewing POSTS to the WIKI
Hide
Deb Sarlin added a comment -

1.9.2 (Build: 20080716)
Thanks all,
will make that change...
wondering if anyone's looking at the posts to wiki issue?

Show
Deb Sarlin added a comment - 1.9.2 (Build: 20080716) Thanks all, will make that change... wondering if anyone's looking at the posts to wiki issue?
Hide
Dan Poltawski added a comment -

This was fixed in MDL-18076 for 1.9.5

Show
Dan Poltawski added a comment - This was fixed in MDL-18076 for 1.9.5

People

Dates

  • Created:
    Updated:
    Resolved: