core/process/queries/QueryManagerMysqlMonocleAlternate.php 1 location
|
@@ 614-616 (lines=3) @@
|
611 |
|
if ('' != $trainer_name) { |
612 |
|
$where = " AND gd.owner_name LIKE '%".$trainer_name."%'"; |
613 |
|
} |
614 |
|
if (0 != $team) { |
615 |
|
$where .= ('' == $where ? ' HAVING' : ' AND').' team = '.$team; |
616 |
|
} |
617 |
|
switch ($rankingNumber) { |
618 |
|
case 1: |
619 |
|
$order = ' ORDER BY active DESC, level DESC'; |
core/process/queries/QueryManagerMysqlRocketmap.php 1 location
|
@@ 676-678 (lines=3) @@
|
673 |
|
if ('' != $trainer_name) { |
674 |
|
$where = " HAVING name LIKE '%".$trainer_name."%'"; |
675 |
|
} |
676 |
|
if (0 != $team) { |
677 |
|
$where .= ('' == $where ? ' HAVING' : ' AND').' team = '.$team; |
678 |
|
} |
679 |
|
switch ($ranking) { |
680 |
|
case 1: |
681 |
|
$order = ' ORDER BY active DESC, level DESC'; |
core/process/queries/QueryManagerPostgresqlMonocleAlternate.php 1 location
|
@@ 615-617 (lines=3) @@
|
612 |
|
if ('' != $trainer_name) { |
613 |
|
$where = " AND gd.owner_name LIKE '%".$trainer_name."%'"; |
614 |
|
} |
615 |
|
if (0 != $team) { |
616 |
|
$where .= ('' == $where ? ' HAVING' : ' AND').' team = '.$team; |
617 |
|
} |
618 |
|
switch ($rankingNumber) { |
619 |
|
case 1: |
620 |
|
$order = ' ORDER BY active DESC, level DESC'; |