We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c28d326 commit 307c848Copy full SHA for 307c848
main/inc/lib/CoursesAndSessionsCatalog.class.php
@@ -1396,6 +1396,9 @@ public static function getCatalogSearchSettings()
1396
'show_session_info' => true,
1397
'show_session_date' => true,
1398
],
1399
+ 'courses'=> [
1400
+ 'by_title' => true,
1401
+ ]
1402
];
1403
}
1404
@@ -1427,6 +1430,11 @@ public static function getTabList($active = 1)
1427
1430
1428
1431
1429
1432
1433
+ // If only one option hide menu.
1434
+ if (1 === count($headers)) {
1435
+ return '';
1436
+ }
1437
+
1438
return Display::tabsOnlyLink($headers, $active);
1439
1440
0 commit comments