danmarsden / moodle-mod_dialogue

Dialogue Module for Moodle
27 stars 35 forks source link

Only 30 users out of 100 #105

Closed amalkowski closed 2 years ago

amalkowski commented 2 years ago

I noticed the problem that when the course is big (100 users) only 30 ~ are displayed in autocomplete form.

OK, I found problem: promise = Ajax.call([{ methodname: 'mod_dialogue_search_users', args: { courseid: courseid, search: query, searchanywhere: true, page: 0, perpage: 30 } }]);

30 perpage?

danmarsden commented 2 years ago

yes - 30 per "search" - you do know that it's a searchable selector right? - type in some text and it will filter/search for all results that match that search term (with a limit of up to 30 records in the list at a time.) - this is similar to other searchable selectors in Moodle too.

amalkowski commented 2 years ago

Oh. You're right.

Ok

danmarsden commented 2 years ago

closing as not a bug - thanks.