Permalink
Browse files

pass all submitted info to the query parser

  • Loading branch information...
1 parent 4327104 commit 24763effafb50d9ec236aa750e03b7d0daa17ec4 @matzko committed Mar 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 {

0 comments on commit 24763ef

Please sign in to comment.