@@ -191,7 +191,7 @@ Ext4.define('LDK.panel.SingleSubjectFilterType', {
191191 var subjIndex = this . notFound . indexOf ( row [ this . aliasTable . aliasColumn ] ) ;
192192 if ( subjIndex === - 1 && this . caseInsensitive ) {
193193 for ( var i = 0 ; i < this . notFound . length ; i ++ ) {
194- if ( row [ this . aliasTable . aliasColumn ] . toLowerCase ( ) === this . notFound [ i ] . toLowerCase ( ) ) {
194+ if ( row [ this . aliasTable . aliasColumn ] . toLowerCase ( ) === this . notFound [ i ] . toString ( ) . toLowerCase ( ) ) {
195195 subjIndex = i ;
196196 break ;
197197 }
@@ -205,7 +205,7 @@ Ext4.define('LDK.panel.SingleSubjectFilterType', {
205205 var index = this . subjects . indexOf ( row [ this . aliasTable . aliasColumn ] ) ;
206206 if ( index === - 1 && this . caseInsensitive ) {
207207 for ( var i = 0 ; i < this . subjects . length ; i ++ ) {
208- if ( row [ this . aliasTable . aliasColumn ] . toLowerCase ( ) === this . subjects [ i ] . toLowerCase ( ) ) {
208+ if ( row [ this . aliasTable . aliasColumn ] . toLowerCase ( ) === this . subjects [ i ] . toString ( ) . toLowerCase ( ) ) {
209209 index = i ;
210210 break ;
211211 }
@@ -239,7 +239,7 @@ Ext4.define('LDK.panel.SingleSubjectFilterType', {
239239 var idIndex = this . notFound . indexOf ( row [ this . aliasTable . idColumn ] ) ;
240240 if ( idIndex === - 1 && this . caseInsensitive ) {
241241 for ( var i = 0 ; i < this . notFound . length ; i ++ ) {
242- if ( row [ this . aliasTable . idColumn ] . toLowerCase ( ) === this . notFound [ i ] . toLowerCase ( ) ) {
242+ if ( row [ this . aliasTable . idColumn ] . toLowerCase ( ) === this . notFound [ i ] . toString ( ) . toLowerCase ( ) ) {
243243 idIndex = i ;
244244 break ;
245245 }
@@ -249,7 +249,7 @@ Ext4.define('LDK.panel.SingleSubjectFilterType', {
249249 // TODO: Update this and LDK.Utils.splitIds when the case sensitive cache issues are fixed
250250 if ( idIndex == - 1 ) {
251251 for ( var nfIndex = 0 ; nfIndex < this . notFound . length ; nfIndex ++ ) {
252- if ( this . notFound [ nfIndex ] . toUpperCase ( ) == row [ this . aliasTable . idColumn ] ) {
252+ if ( this . notFound [ nfIndex ] . toString ( ) . toUpperCase ( ) == row [ this . aliasTable . idColumn ] ) {
253253 idIndex = nfIndex ;
254254 break ;
255255 }
0 commit comments