Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-27755 course search: Add course id and shortname to search fields

  • Loading branch information...
commit 536c7aa8829d0ecc2f4d640300b41d31e5716cc2 1 parent 020f0ff
@rwijaya rwijaya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/datalib.php
View
2  lib/datalib.php
@@ -717,7 +717,7 @@ function get_courses_search($searchterms, $sort='fullname ASC', $page=0, $record
$params = array();
$i = 0;
- $concat = $DB->sql_concat('c.summary', "' '", 'c.fullname');
+ $concat = $DB->sql_concat('c.summary', "' '", 'c.fullname', "' '", 'c.idnumber', "' '", 'c.shortname');
foreach ($searchterms as $searchterm) {
$i++;
Please sign in to comment.
Something went wrong with that request. Please try again.