Removed erroneous mysql alias on the `active` field from the assessments table when trying to fetch cohorts in the fallback for exporting gradebook data as a CSV and not providing the "cohort" in the URI.
Fixes query that was fetching users based on the organisation_id in the user_data table to use the organisation_id from the appropriate user_access record
fixes bug in the public profile where a check used to build the Personal Information sidebar was using the current group stored in the session array. It now uses the active group from the $ENTRADA_USER object.
Merge branch 'develop' into feature/community-templates