| @@ 475-485 (lines=11) @@ | ||
| 472 | to = ""; |
|
| 473 | } |
|
| 474 | ||
| 475 | if (from.length > 0 && to.length > 0) { |
|
| 476 | fieldPart = field+":["+from+" TO "+to+"]"; |
|
| 477 | } else { |
|
| 478 | if (from.length == 0 && to.length == 0) { |
|
| 479 | return ""; |
|
| 480 | } |
|
| 481 | ||
| 482 | from = (from.length > 0)? from : "*"; |
|
| 483 | to = (to.length > 0)? to : "*"; |
|
| 484 | fieldPart = field+":["+from+" TO "+to+"]"; |
|
| 485 | } |
|
| 486 | ||
| 487 | return fieldPart; |
|
| 488 | } |
|
| @@ 438-448 (lines=11) @@ | ||
| 435 | ||
| 436 | var fieldPart = ""; |
|
| 437 | ||
| 438 | if (from.length > 0 && to.length > 0) { |
|
| 439 | fieldPart = field+":["+from+" TO "+to+"]"; |
|
| 440 | } else { |
|
| 441 | if (from.length == 0 && to.length == 0) { |
|
| 442 | return ""; |
|
| 443 | } |
|
| 444 | ||
| 445 | from = (from.length > 0)? from : "*"; |
|
| 446 | to = (to.length > 0)? to : "*"; |
|
| 447 | fieldPart = field+":["+from+" TO "+to+"]"; |
|
| 448 | } |
|
| 449 | ||
| 450 | return fieldPart; |
|
| 451 | }, |
|