marxjohnson / moodle-block_quickfindlist

Moodle block providing a quick method of searching users
http://moodle.org/mod/data/view.php?d=13&rid=2200
6 stars 15 forks source link

can't search by idnumber #6

Closed danbuntu closed 10 years ago

danbuntu commented 12 years ago

We put the students idnumber on the mdl_user idnumber field and it's useful to be able to search for students by this number.

below is a patch that enables this - it includes knocking out accounts from search with a lastname of 'Guardian' as we use this to create guardian access accounts for our students

git://gist.github.com/3175344.git

marxjohnson commented 12 years ago

Thanks very much for the input. I'll try and get this integrated over the next couple of weeks. I'll look at making the "Guardian" string an instance-level setting as we could use something similar.

danbuntu commented 12 years ago

Me again

If you're adding this as an instance level setting it would pretty cool to enable an option to allow links directly to the PLP as well:

https://gist.github.com/3236092

https://gist.github.com/3236094

sensei-hacker commented 10 years ago

Integrated