|
@@ -135,7 +135,8 @@ class ActivitiesController extends \BaseController {
|
135
|
135
|
}
|
136
|
136
|
// Added the function htmlspecialchars to activity name string because it was corrupting Jquery code while using quotes on page rendering. - Carlos R Caraballo 1/18/2019
|
137
|
137
|
$title = $course->code.$course->number.'-'.$course->section.': '.htmlspecialchars($activity->name, ENT_QUOTES).' <span class="small attention">('.$course->semester->code.')</span>';
|
138
|
|
- $outcomes = Outcome::orderBy('name', 'asc')->get();
|
|
138
|
+ //$outcomes = Outcome::orderBy('name', 'asc')->get();
|
|
139
|
+ $outcomes = Outcome::active();
|
139
|
140
|
$outcomes_achieved = json_decode($activity->outcomes_achieved, true);
|
140
|
141
|
$outcomes_attempted = json_decode($activity->outcomes_attempted, true);
|
141
|
142
|
|