Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pass all submitted info to the query parser

  • Loading branch information...
commit 24763effafb50d9ec236aa750e03b7d0daa17ec4 1 parent 4327104
@matzko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  includes/json-server-class.php
View
2  includes/json-server-class.php
@@ -17,7 +17,7 @@ public function submitQuery( $args = null )
__('Invalid method parameters: wpLiteAutosuggest.submitQuery requires that a query text be specified.', 'wp-lite-autosuggest')
);
} else {
- $results = $wp_lite_autosuggest->get_results_from_query( $args->{'query'} );
+ $results = $wp_lite_autosuggest->get_results_from_query( $args->{'query'}, get_object_vars( $args ) );
if ( is_wp_error( $results ) ) {
return $results;
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.