Skip to content

Commit

Permalink
Merge pull request #332 from jacoblee93/master
Browse files Browse the repository at this point in the history
Fixes issue with using functions with is comparators
  • Loading branch information
keithwhor authored May 31, 2017
2 parents 503e150 + 0e94191 commit 6c87386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions core/required/composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,7 @@ class Composer {
valueFunction = value;
valueColumnNames = utilities.getFunctionParameters(valueFunction);
value = null;
}

if (comparator === 'is') {
} else if (comparator === 'is') {
if (value === null) {
comparator = 'is_null';
} else if (value === true) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodal",
"version": "0.14.0-rc3",
"version": "0.14.0-rc4",
"description": "An API Server and Framework for node.js",
"keywords": [
"framework",
Expand Down

0 comments on commit 6c87386

Please sign in to comment.