From Gustav Delius (gwd2 at york.ac.uk) Saturday, 27 August 2005, 02:04 AM:
Clicking on 'Users' in the 'Administration' block on the Moodle home page and then on 'Edit user accounts' brings you to a list of all users on the site with a search box which also searches on usernames.
Or did I misunderstand this feature request?
From Reed Law (reedlaw at gmail.com) Monday, 17 October 2005, 04:46 PM:
I just checked this and the search does not include usernames, only First Name and Last Name fields.
From Anthony Borrow (aborrow at jesuitcp.org) Sunday, 14 May 2006, 04:39 AM:
I also would like to have this functionality. Currently, as of 1.6 beta 5 the /lib/datalib.php contains a function get_users_listing where around line 1810 it currently sets the value of the $select variable as follows:
$select .= AND ($fullname $LIKE '%$search%' OR email $LIKE '%$search%') ;
as you can see this is just the first and last name field that is being searched. We use a five digit student id to identify our students and sometimes it would be helpful to search by the student id. In particular I am thinking of how to check which student is having login failures from the logs.
I have customized the code on my production server with:
$select .= AND ($fullname $LIKE '%$search%' OR email $LIKE '%$search%' OR username $LIKE '$search%') ;
Ideally I would like to limit the number of customizations and hence I am re-opening this feature request. To that end, I have changed the version from 1.5.2 to 1.6 beta 5 and the OS from Solaris to all. I also changed the resolution from works for me to reopened. Thank you for your consideration and for all you do to make Moodle Moodle-tastic!
From Anthony Borrow (aborrow at jesuitcp.org) Tuesday, 8 August 2006, 12:03 AM:
Martin - I have changed the to be closed in version to 1.7 as I think this would be a nice, easy addition to 1.7. The code change is very minor and included in the feature request. It is just a matter of writing it to CVS. Thanks for your consideration - Anthony.
From Gustav Delius (gwd2 at york.ac.uk) Saturday, 27 August 2005, 02:04 AM:
Clicking on 'Users' in the 'Administration' block on the Moodle home page and then on 'Edit user accounts' brings you to a list of all users on the site with a search box which also searches on usernames.
Or did I misunderstand this feature request?
From Reed Law (reedlaw at gmail.com) Monday, 17 October 2005, 04:46 PM:
I just checked this and the search does not include usernames, only First Name and Last Name fields.
From Anthony Borrow (aborrow at jesuitcp.org) Sunday, 14 May 2006, 04:39 AM:
I also would like to have this functionality. Currently, as of 1.6 beta 5 the /lib/datalib.php contains a function get_users_listing where around line 1810 it currently sets the value of the $select variable as follows:
$select .= AND ($fullname $LIKE '%$search%' OR email $LIKE '%$search%') ;
as you can see this is just the first and last name field that is being searched. We use a five digit student id to identify our students and sometimes it would be helpful to search by the student id. In particular I am thinking of how to check which student is having login failures from the logs.
I have customized the code on my production server with:
$select .= AND ($fullname $LIKE '%$search%' OR email $LIKE '%$search%' OR username $LIKE '$search%') ;
Ideally I would like to limit the number of customizations and hence I am re-opening this feature request. To that end, I have changed the version from 1.5.2 to 1.6 beta 5 and the OS from Solaris to all. I also changed the resolution from works for me to reopened. Thank you for your consideration and for all you do to make Moodle Moodle-tastic!
From Anthony Borrow (aborrow at jesuitcp.org) Tuesday, 8 August 2006, 12:03 AM:
Martin - I have changed the to be closed in version to 1.7 as I think this would be a nice, easy addition to 1.7. The code change is very minor and included in the feature request. It is just a matter of writing it to CVS. Thanks for your consideration - Anthony.