Skip to content
Permalink
Browse files

MDL-55053 search: Display search areas in alphabetical order

  • Loading branch information...
merrill-oakland committed Jun 28, 2016
1 parent b8474fe commit a02fe723dd8adbaf188e0ff9997bb4a95472bf7e
Showing with 4 additions and 0 deletions.
  1. +4 −0 search/classes/output/form/search.php
@@ -61,6 +61,10 @@ function definition() {
foreach ($searchareas as $areaid => $searcharea) {
$areanames[$areaid] = $searcharea->get_visible_name();
}
// Sort the array by the text.
\core_collator::asort($areanames);
$options = array(
'multiple' => true,
'noselectionstring' => get_string('allareas', 'search'),

0 comments on commit a02fe72

Please sign in to comment.
You can’t perform that action at this time.