Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
4257eb8f
Commit
4257eb8f
authored
Feb 24, 2021
by
Romain Therville
☕
Browse files
Merge branch 'issue#189' into 'master'
Merge branch Issue#189 with master See merge request
!114
parents
8d0b0c0d
765f4c22
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/lib/class.tx_nG6_db.php
View file @
4257eb8f
...
...
@@ -3051,9 +3051,10 @@ static function get_project_runs($project_id, $orderby='', $limit='') {
* @param string $user_col the fe_users column to use
* @return array
*/
static
function
get_all_names_starting_with
(
$name_start
,
$user_col
)
{
static
function
get_all_names_starting_with
(
$name_start
,
$user_col
)
{
$queryParts
=
Array
(
'SELECT'
=>
'fe_users.uid, fe_users.username, fe_users.last_name, fe_users.first_name, fe_users.password, fe_users.email, fe_users.cruser_id, fe_groups.title, fe_groups.tx_nG6_organism, fe_groups.tx_nG6_location'
,
// 'SELECT' => 'fe_users.uid, fe_users.username, fe_users.last_name, fe_users.first_name, fe_users.password, fe_users.email, fe_users.cruser_id, fe_groups.title, fe_groups.tx_nG6_organism, fe_groups.tx_nG6_location',
'SELECT'
=>
'fe_users.uid, fe_users.username, fe_users.last_name, fe_users.first_name, fe_users.email, fe_users.cruser_id, fe_groups.title, fe_groups.tx_nG6_organism, fe_groups.tx_nG6_location'
,
'FROM'
=>
'fe_users INNER JOIN fe_groups ON fe_users.usergroup=fe_groups.uid'
,
'WHERE'
=>
'fe_users.'
.
$user_col
.
' LIKE "'
.
$name_start
.
'%"'
,
'GROUPBY'
=>
''
,
...
...
@@ -3068,7 +3069,7 @@ static function get_project_runs($project_id, $orderby='', $limit='') {
'username'
=>
$res_row
[
'username'
],
'first_name'
=>
$res_row
[
'first_name'
],
'last_name'
=>
$res_row
[
'last_name'
],
'password'
=>
$res_row
[
'password'
],
//
'password' => $res_row['password'],
'email'
=>
$res_row
[
'email'
],
'title'
=>
$res_row
[
'title'
],
'cruser_id'
=>
$res_row
[
'cruser_id'
],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment