Skip to content

Commit

Permalink
Increase number of cohorts to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanscholz authored Mar 27, 2024
1 parent 81923bb commit bdb47d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conditions/cohort/classes/conditionform.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function load_instance_form(&$mform, $forminstance) {
$mform->addElement('select', 'condition[cohort][status]', $completionstr, $this->get_options());
$mform->addHelpButton('condition[cohort][status]', 'condition', 'pulsecondition_cohort');

$cohorts = cohort_get_all_cohorts();
$cohorts = cohort_get_all_cohorts('0', '500', '', false);
$cohorts = $cohorts['cohorts'];

array_walk($cohorts, function(&$value) {
Expand Down

0 comments on commit bdb47d3

Please sign in to comment.