Skip to content

Commit

Permalink
Fixing SearchListener after changes in cake 3.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Feb 23, 2016
1 parent 36729b4 commit dec2324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/ViewSearchListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ protected function _deriveFields()
}

unset($input['fields']);
$url = ['action' => 'lookup', '?' => $urlArgs, '_ext' => 'json'];
$url = array_merge(['action' => 'lookup', '_ext' => 'json'], $urlArgs);
$input['data-url'] = Router::url($url);

$fields[$searchParam] = $input;
Expand Down

0 comments on commit dec2324

Please sign in to comment.