We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a445f50 commit 51ffdcaCopy full SHA for 51ffdca
models/criterion/BaseBuilder.cfc
@@ -404,7 +404,7 @@ component accessors="true" {
404
405
// iterate and add dynamically if the incoming argument exists, man, so much easier if we had closures.
406
for ( var pType in arguments ) {
407
- if ( structKeyExists( arguments, pType ) AND NOT listFindNoCase( excludes, pType ) ) {
+ if ( structKeyExists( arguments, pType ) && NOT listFindNoCase( excludes, pType ) && !isNull( projectionList ) ) {
408
addProjection(
409
arguments[ pType ],
410
lCase( pType ),
0 commit comments