Skip to content

Commit e60f788

Browse files
committed
Update comment
1 parent 3cd656f commit e60f788

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

LDK/resources/web/LDK/panel/SingleSubjectFilterType.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ Ext4.define('LDK.panel.SingleSubjectFilterType', {
156156
aliasTableConfig: function (subjectArray) {
157157
this.aliasTable.scope = this;
158158

159-
// Use contains filter to ensure case insensitivity across dbs
159+
// When caseInsensitive is true, use contains filter to ensure case insensitivity across dbs. This will return more
160+
// results than necessary in some cases, however those results are filtered to match the user input and non-matching
161+
// results are not used.
160162
var filterType = this.caseInsensitive ? LABKEY.Filter.Types.CONTAINS_ONE_OF : LABKEY.Filter.Types.EQUALS_ONE_OF;
161163
this.aliasTable.filterArray = [LABKEY.Filter.create('alias', subjectArray.join(';'), filterType)];
162164
this.aliasTable.columns = this.aliasTable.idColumn + (Ext4.isDefined(this.aliasTable.aliasColumn) ? ',' + this.aliasTable.aliasColumn : '');

0 commit comments

Comments
 (0)