Skip to content

Commit

Permalink
Fix default "catalog_settings" values
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Feb 3, 2020
1 parent 8cdc3da commit 4cb04a9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion main/auth/courses_controller.php
Expand Up @@ -439,7 +439,15 @@ public static function getCatalogSearchSettings()
$settings = api_get_configuration_value('catalog_settings');
if (empty($settings)) {
// Default everything is visible
$settings = ['sessions' => ['by_title' => true, 'by_date' => true, 'by_tag' => true]];
$settings = [
'sessions' => [
'by_title' => true,
'by_date' => true,
'by_tag' => true,
'show_session_info' => true,
'show_session_date' => true,
],
];
}

return $settings;
Expand Down

0 comments on commit 4cb04a9

Please sign in to comment.