Add code to course search - refs BT#7142