moodle-an-hochschulen / moodle-local_profilecohort

Moodle plugin which lets admins manage cohort memberships based on users' custom profile fields
GNU General Public License v3.0
23 stars 19 forks source link

Pagination required #22

Open majidh8 opened 5 years ago

majidh8 commented 5 years ago

Hello, this plugin is very handy. The only problem we have with it is that it loads very slowly when there are lots of rules as in our case. We have nearly 500 rules (https://MYMOODLEURL.com/local/profilecohort/index.php) and the page takes a good minute to load all of the data. Can you add pagination as a setting so admins can choose to display let's say 50 rules per page?

carcavic commented 4 years ago

Hello. I have the same problem: I created around 480 rules for more than 200 cohorts and now I can't show the page content. Your plugin is very helpul, thank you. Carlo

carcavic commented 4 years ago

Hello to all. Unfortunately I have a huge problem with the plugin, because now I can't access to the page where to create and modify rules. The problem is for sure caused by the high number of cohorts and rules but I need to use more this great plugin, so I have two option to propose:

  1. can someone help me to modify the php info settings or other settings in order to allows the browser to show the page? keep in mind that I have already modified the max_execution_time to 90 sec.
  2. if someone is available to work on the pagination function, i can pay for it. Please let me know something. Thank you so much in advance. Carlo
abias commented 4 years ago

Hi all,

thanks for getting in touch about this issue.

I can report back from our point of view:

@carcavic - If you were already able to raise max_execution_time to 90, you might want to raise it even more. At our installation, we have set this setting to more than 10 minutes and have been running this setup for a decade without any problems.

@carcavic - Regarding paying for fixing this issue: This plugin was built by a Moodle partner of ours. If you would be willing to pay for fixing the bottleneck and and for adding pagination, please see my profile https://github.com/abias and turn to me privately.

I will leave this issue open for now for future reference.

Cheers, Alex