Issue Details (XML | Word | Printable)

Key: MDL-14118
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Minor Minor
Assignee: Eloy Lafuente (stronk7)
Reporter: Daniel Schimrik
Votes: 0
Watchers: 3
Operations

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

mymoodle not showing all courses

Created: 31/Mar/08 10:24 PM   Updated: 24/Mar/09 12:28 PM
Component/s: Other
Affects Version/s: 1.9
Fix Version/s: None

Environment:
MySQL 5.0.45
PHP 5.2.5
Apache webhosting with Linux
Issue Links:
Blockers
 

Participants: Daniel Schimrik, Eloy Lafuente (stronk7), Mary M Rydesky and Minh-Tam Nguyen
Security Level: None
Resolved date: 24/Apr/08
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
Hello,

since upgrading from 1.8.4 to 1.9 I have some trouble getting into hidden courses in hidden categories (as trainer), see: http://tracker.moodle.org/browse/MDL-13900.

Today I got another problem (moodle release = '1.9 + (Build: 20080331)):
I created a new visible category. Inside this category I created a new visible course. To this course I assigned a teacher.
But the course is not listed under mymoodle for this teacher. By using course-id or list of all courses, he can see this new course and access it, but not with mymoodle.

After upgrading from 1.9 final to version shown above, a student of this course can see the course too (with 1.9 final he could not see it). But the one teacher has still no chance to see it in mymoodle.
Adding myself (with teacher account) as teacher to this course shows the course correctly in mymoodle.

How can I solve this problem? (re-adding of that teacher does not solve the problem)

regards, Daniel



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) added a comment - 31/Mar/08 11:31 PM
Assigning to Petr... he's working on MyMoodle stuff these days...

Thanks for report Daniel! B-)

Ciao


Eloy Lafuente (stronk7) added a comment - 24/Apr/08 08:22 AM
Hi Daniel,

any comment about this? I've been creating a lot of categories and courses in order to test MDL-14478 and, with categories and courses being visible... I haven't had this problem at all.

Any idea? Does it work now in your server? Ciao


Daniel Schimrik added a comment - 24/Apr/08 04:51 PM
Hello Eloy,

I'll upgrade our site this afternoon to current moodle-weekly to check if everything is ok.

regards, Daniel


Daniel Schimrik added a comment - 24/Apr/08 10:58 PM
Hello Eloy,

I am not sure why, but this problem solved itself:
After trying many logins as student and teacher, waiting 1 or 2 days, first the students could see this course.
And some more days later, also the teacher could see his course in the course-list of mymoodle, too.

The only thing I remember I changed was the sort order in mymoodle (back to 1.8-style).

So I think this special problem can be closed so far.

regards, Daniel


Eloy Lafuente (stronk7) added a comment - 24/Apr/08 11:56 PM
Wow, that's a really strange solution (the "some days" approach).

I hate to resolve bugs without knowing the cause... grrr... but, as I've tested it here and your problems have disappeared ... I'm gong to close this as "Cannot reproduce". Feel free to reopen if necessary.

Thanks, Daniel! Ciao


Mary M Rydesky added a comment - 30/Apr/08 02:46 AM
I am having an issue that I think is related. When I view mymoodle, it shows a limited number of my courses, followed by an ellipsis (...), the symbol that means 'more' but there is no way to get more to show. For example - I have a series of courses that are sequential. In mymoodle, I can see the beginning courses, but the ones at the end of the series do not show. This makes it difficult with keeping up with grading, as I use mymoodle to tell me when assignments are awaiting attention.

None of the courses are hidden courses. All of the courses have me in the same role. Time does not alter the items that are listed in mymoodle. But the end result is that mymoodle is not helpful when you have a large number of courses to monitor. I hope you do not close the problem!


Eloy Lafuente (stronk7) added a comment - 30/Apr/08 10:14 AM
Hi Mary,

if I'm not wrong your problem is an "on purpose" one. Number of courses showing up is limited in code (currently set to 21).

So I'd suggest:

1) Edit my/index.php and around line 812, change:

$courses = get_my_courses($USER->id, 'visible DESC,sortorder ASC', '*', false, 21);

by:

$courses = get_my_courses($USER->id, 'visible DESC,sortorder ASC', '*', false, 100);

that will allow you site to show up to 100 courses in the MyMoodle page.

2) Create one new bug report in the Tracker about allowing that number (100) to be defined somewhere in the Admin interface. I think that's the correct way to allow customizations on each site.

Thanks for your report. Ciao


Minh-Tam Nguyen added a comment - 24/Mar/09 12:28 PM
the tracker bug Eloy asked for in 2) is MDL-13224, I think. MDL-9834 is also similar.