sam marshall b2ec866fc7 MDL-26956 (1) Library: Move search SQL function to datalib
This function used to be in the user selector, but it is useful in
other areas where we want to search for users as it handles a number
of search options (including extra fields, etc.) and returns SQL
which can be included in a joined query.

A unit test has been added to check the results of these searches.
2013-03-28 10:45:12 +00:00
..
2013-03-24 17:48:11 +01:00
2013-02-22 10:53:47 +08:00
2013-03-28 14:36:33 +08:00
2013-03-22 13:09:50 +01:00
2013-01-11 12:23:22 +01:00
2013-03-24 18:59:33 +01:00
2013-03-14 08:49:30 +01:00
2013-01-04 15:12:31 +01:00
2013-03-22 13:09:50 +01:00
2013-01-29 12:57:03 +08:00
2013-03-14 08:49:30 +01:00