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

Description
The code to execute a sosl search is incorrect in forcetk.js.
The original code is:
forcetk.Client.prototype.search = function(sosl, callback, error) {
this.ajax('/' + this.apiVersion + '/search?s=' + escape(sosl)
, callback, error);
}
it should be:
forcetk.Client.prototype.search = function(sosl, callback, error) {
this.ajax('/' + this.apiVersion + '/search?q=' + escape(sosl)
, callback, error);
}
The "?s" should be replace with "?q".