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