You've already forked search-query-parser
moving ; 😆
This commit is contained in:
@@ -52,7 +52,7 @@ exports.parse = function (string, options) {
|
||||
});
|
||||
terms[i] = key + ':' + val;
|
||||
}
|
||||
};
|
||||
}
|
||||
// Reverse to ensure proper order when pop()'ing.
|
||||
terms.reverse();
|
||||
// For each search term
|
||||
@@ -99,7 +99,7 @@ exports.parse = function (string, options) {
|
||||
else {
|
||||
// Put both the current value and the new
|
||||
// value in an array
|
||||
query[key] = [query[key]]
|
||||
query[key] = [query[key]];
|
||||
query[key].push(value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user