Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Fix Bug 895698 - Fix limit on search queries not being applied
Browse files Browse the repository at this point in the history
  • Loading branch information
mjschranz committed Jul 19, 2013
1 parent 34c74af commit c1d4fd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/make-api.js
Expand Up @@ -243,7 +243,9 @@ var module = module || undefined;
queryPairs: [],

addPair: function( key, val, not ) {
if ( typeof val !== "string" || !val.length ) {
val = val ? val.toString() : "";

if ( !val.length ) {
return this;
}
val = not ? "{!}" + val : val;
Expand Down

0 comments on commit c1d4fd2

Please sign in to comment.