|
@@ -438,7 +438,8 @@ the specific language governing permissions and limitations under the Apache Lic
|
|
data: data,
|
|
data: data,
|
|
success: function (data) {
|
|
success: function (data) {
|
|
// TODO - replace query.page with query so users have access to term, page, etc.
|
|
// TODO - replace query.page with query so users have access to term, page, etc.
|
|
- var results = options.results(data, query.page);
|
|
|
|
|
|
+ // added query as third paramter to keep backwards compatibility
|
|
|
|
+ var results = options.results(data, query.page, query);
|
|
query.callback(results);
|
|
query.callback(results);
|
|
}
|
|
}
|
|
});
|
|
});
|