core/process/queries/QueryManagerMysqlMonocleAlternate.php 1 location
|
@@ 586-588 (lines=3) @@
|
| 583 |
|
if ('' != $trainer_name) { |
| 584 |
|
$where = " AND gd.owner_name LIKE '%".$trainer_name."%'"; |
| 585 |
|
} |
| 586 |
|
if (0 != $team) { |
| 587 |
|
$where .= ('' == $where ? ' HAVING' : ' AND').' team = '.$team; |
| 588 |
|
} |
| 589 |
|
switch ($rankingNumber) { |
| 590 |
|
case 1: |
| 591 |
|
$order = ' ORDER BY active DESC, level DESC'; |
core/process/queries/QueryManagerMysqlRocketmap.php 1 location
|
@@ 648-650 (lines=3) @@
|
| 645 |
|
if ('' != $trainer_name) { |
| 646 |
|
$where = " HAVING name LIKE '%".$trainer_name."%'"; |
| 647 |
|
} |
| 648 |
|
if (0 != $team) { |
| 649 |
|
$where .= ('' == $where ? ' HAVING' : ' AND').' team = '.$team; |
| 650 |
|
} |
| 651 |
|
switch ($ranking) { |
| 652 |
|
case 1: |
| 653 |
|
$order = ' ORDER BY active DESC, level DESC'; |
core/process/queries/QueryManagerPostgresqlMonocleAlternate.php 1 location
|
@@ 587-589 (lines=3) @@
|
| 584 |
|
if ('' != $trainer_name) { |
| 585 |
|
$where = " AND gd.owner_name LIKE '%".$trainer_name."%'"; |
| 586 |
|
} |
| 587 |
|
if (0 != $team) { |
| 588 |
|
$where .= ('' == $where ? ' HAVING' : ' AND').' team = '.$team; |
| 589 |
|
} |
| 590 |
|
switch ($rankingNumber) { |
| 591 |
|
case 1: |
| 592 |
|
$order = ' ORDER BY active DESC, level DESC'; |