CakeDC/users — Issue #47: User model _findSearch $by?
Author: spx
Created: 2012-03-04 06:53:26+00:00
State: open

if (!empty($query['by'])) {
$by = $query['by'];
}

if (empty($query['search'])) {
$query['search'] = '';
}

$db =& ConnectionManager::getDataSource($this->useDbConfig);
$by = $query['by'];

no logic in $by