Skip to content

Commit

Permalink
Merge pull request #33 from Leosten/feature/56025
Browse files Browse the repository at this point in the history
[FEATURE#56025] Ajout de msg query dans le proxy
  • Loading branch information
TinyTinyKame authored Oct 24, 2017
2 parents a73ffa6 + 785e89a commit 0e9634d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ConversationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ public function __construct(Application $app = null)
$this->app = $app;
}

public function findByQueryString($query, $from = 0, $size = 99999, $sort = "")
public function findByQueryString($query, $from = 0, $size = 99999, $sort = "", $msg_query = "")
{
$query = urlencode($query);
$response = $this->fireRequest("GET", "/search?q={$query}&from={$from}&size={$size}&sort={$sort}");
$response = $this->fireRequest("GET", "/search?q={$query}&messages_query={$msg_query}&from={$from}&size={$size}&sort={$sort}");

$response["hits"] = array_map(
function ($hit) {
Expand Down

0 comments on commit 0e9634d

Please sign in to comment.