Skip to content

Commit

Permalink
Fixes issue with using functions with is comparators
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed May 8, 2017
1 parent 503e150 commit 0e94191
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 0e94191

Please sign in to comment.