Issue Details (XML | Word | Printable)

Key: MDL-15513
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Dan Poltawski
Reporter: Teresa Gibbison
Votes: 4
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Participation Report not keeping Action selected

Created: 03/Jul/08 11:43 AM   Updated: 24/Feb/10 08:30 AM
Component/s: General, Other
Affects Version/s: 1.9.1
Fix Version/s: None

File Attachments: 1. Text File course_report_index.patch (0.5 kB)

Environment:
1.9.1+ (Build 20080619)
php 5.1.6
Issue Links:
Duplicate
 

Database: PostgreSQL
Participants: Clinton Graham, Dan Poltawski, Deb Sarlin, Molly McManus, Philip Cali and Teresa Gibbison
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Clinton Graham added a comment - 18/Nov/08 04:36 AM
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)) {


Philip Cali added a comment - 26/Nov/08 07:02 AM
Yes, instructors at our university discovered this bug as well. We went ahead and created a patch. We run 1.9.2.

Molly McManus added a comment - 16/Jan/09 01:46 AM
This patch seems to work for forum posts, but we are still having trouble viewing POSTS to the WIKI

Deb Sarlin added a comment - 25/Feb/09 12:55 AM
1.9.2 (Build: 20080716)
Thanks all,
will make that change...
wondering if anyone's looking at the posts to wiki issue?

Dan Poltawski added a comment - 24/Feb/10 08:30 AM
This was fixed in MDL-18076 for 1.9.5