Skip to content
Browse files

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

  • Loading branch information...
1 parent 81f8e0f commit c65f0b6fb51fa78031407d2d81466d1f5050d489 @rwijaya rwijaya committed Jul 7, 2011
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++;

0 comments on commit c65f0b6

Please sign in to comment.
Something went wrong with that request. Please try again.