core/process/queries/QueryManagerMysqlMonocleAlternate.php 1 location
|
@@ 531-533 (lines=3) @@
|
| 528 |
|
if ($trainer_name != "") { |
| 529 |
|
$where = " AND gd.owner_name LIKE '%".$trainer_name."%'"; |
| 530 |
|
} |
| 531 |
|
if ($team != 0) { |
| 532 |
|
$where .= ($where == "" ? " HAVING" : " AND")." team = ".$team; |
| 533 |
|
} |
| 534 |
|
switch ($rankingNumber) { |
| 535 |
|
case 1: |
| 536 |
|
$order = " ORDER BY active DESC, level DESC"; |
core/process/queries/QueryManagerMysqlRocketmap.php 1 location
|
@@ 557-559 (lines=3) @@
|
| 554 |
|
if ($trainer_name != "") { |
| 555 |
|
$where = " HAVING name LIKE '%".$trainer_name."%'"; |
| 556 |
|
} |
| 557 |
|
if ($team != 0) { |
| 558 |
|
$where .= ($where == "" ? " HAVING" : " AND")." team = ".$team; |
| 559 |
|
} |
| 560 |
|
switch ($ranking) { |
| 561 |
|
case 1: |
| 562 |
|
$order = " ORDER BY active DESC, level DESC"; |
core/process/queries/QueryManagerPostgresqlMonocleAlternate.php 1 location
|
@@ 529-531 (lines=3) @@
|
| 526 |
|
if ($trainer_name != "") { |
| 527 |
|
$where = " AND gd.owner_name LIKE '%".$trainer_name."%'"; |
| 528 |
|
} |
| 529 |
|
if ($team != 0) { |
| 530 |
|
$where .= ($where == "" ? " HAVING" : " AND")." team = ".$team; |
| 531 |
|
} |
| 532 |
|
switch ($rankingNumber) { |
| 533 |
|
case 1: |
| 534 |
|
$order = " ORDER BY active DESC, level DESC"; |