File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,17 +156,17 @@ export default class AHBRepository {
156156          ) ; 
157157        } 
158158        if  ( value . contains  !==  undefined )  { 
159-           queryBuilder . andWhere ( `LOWER( al.${ columnName } )  LIKE :${ paramBase }  ,  { 
159+           queryBuilder . andWhere ( `al.${ columnName } ${ paramBase }  ,  { 
160160            [ `${ paramBase }  ] : `%${ value . contains . toLowerCase ( ) }  , 
161161          } ) ; 
162162        } 
163163        if  ( value . startsWith  !==  undefined )  { 
164-           queryBuilder . andWhere ( `LOWER( al.${ columnName } )  LIKE :${ paramBase }  ,  { 
164+           queryBuilder . andWhere ( `al.${ columnName } ${ paramBase }  ,  { 
165165            [ `${ paramBase }  ] : `${ value . startsWith . toLowerCase ( ) }  , 
166166          } ) ; 
167167        } 
168168        if  ( value . endsWith  !==  undefined )  { 
169-           queryBuilder . andWhere ( `LOWER( al.${ columnName } )  LIKE :${ paramBase }  ,  { 
169+           queryBuilder . andWhere ( `al.${ columnName } ${ paramBase }  ,  { 
170170            [ `${ paramBase }  ] : `%${ value . endsWith . toLowerCase ( ) }  , 
171171          } ) ; 
172172        } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments