OK, I ported my two blocks and also my uploadusersandcourses to Moodle 2.3. So if you are still interested, I could have a look at that search-code.
Rosario
General developer forum
get_courses_search does not search for teachers
This discussion has been locked so you can no longer reply to it.