Site reports missing option of user selection

Site reports missing option of user selection

by William Mair -
Number of replies: 3

Hi,

Since we upgraded from 2.3.11 to 2.7.1 in the summer, the select option for users to filter on at site level reporting is missing (it's there at course level).

When I install my own clean 2.7.1 version, the drop-down is there, so it's not a bug, but I'm wondering if anyone can suggest if a setting that I can't find has been turned off or if I've missed anything obvious (I've checked /report/log/index.php, /report/log/classes/renderer.php and /report/log/classes/renderable.php and nothing seems to differ between versions).

Anyone able to help?

Thanks

Average of ratings: -
In reply to William Mair

Re: Site reports missing option of user selection

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hello there. I think it's based on the number of courses you have - see this tracker report MDL-46865

In reply to Mary Cooch

Re: Site reports missing option of user selection

by William Mair -

Mary,

We currently have just under 3900 users which is in excess of the COURSE_MAX_USERS_PER_DROPDOWN limit.

Looking at the bug, it indicates that the drop-down disappears and is replaced by a [More], which is what we saw previous to the upgrade, now there is nothing there at all, so I'm wondering if something has changed (my test system obviously has nowhere near this number) and the [More] has been taken out.

Thanks

 


In reply to William Mair

Re: Site reports missing option of user selection

by William Mair -

Actually, I think I see the problem is that the logtoomanyusers is inside of the if !empty (users) check which returns an empty array if too full.

I'll put more information in the bug.