Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 3d99e4b

Browse files
author
Pat Patterson
committed
Corrected search query param. Fixes #21
1 parent b7c8f65 commit 3d99e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forcetk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ if (forcetk.Client === undefined) {
439439
* @param [error=null] function to which jqXHR will be passed in case of error
440440
*/
441441
forcetk.Client.prototype.search = function(sosl, callback, error) {
442-
this.ajax('/' + this.apiVersion + '/search?s=' + escape(sosl)
442+
this.ajax('/' + this.apiVersion + '/search?q=' + escape(sosl)
443443
, callback, error);
444444
}
445445
}

0 commit comments

Comments
 (0)