File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
src/authorization/service Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -37,31 +37,31 @@ export default class SearchService {
3737 if ( input . and . email ) {
3838 andConditions . push (
3939 this . generateWhereClauseForStringSearch (
40- 'User .email' ,
40+ 'user .email' ,
4141 input . and . email ,
4242 ) ,
4343 ) ;
4444 }
4545 if ( input . and . firstName ) {
4646 andConditions . push (
4747 this . generateWhereClauseForStringSearch (
48- 'User .firstName' ,
48+ 'user .firstName' ,
4949 input . and . firstName ,
5050 ) ,
5151 ) ;
5252 }
5353 if ( input . and . middleName ) {
5454 andConditions . push (
5555 this . generateWhereClauseForStringSearch (
56- 'User .middleName' ,
56+ 'user .middleName' ,
5757 input . and . middleName ,
5858 ) ,
5959 ) ;
6060 }
6161 if ( input . and . lastName ) {
6262 andConditions . push (
6363 this . generateWhereClauseForStringSearch (
64- 'User .lastName' ,
64+ 'user .lastName' ,
6565 input . and . lastName ,
6666 ) ,
6767 ) ;
@@ -71,29 +71,29 @@ export default class SearchService {
7171 if ( input . or ) {
7272 if ( input . or . email ) {
7373 orConditions . push (
74- this . generateWhereClauseForStringSearch ( 'User .email' , input . or . email ) ,
74+ this . generateWhereClauseForStringSearch ( 'user .email' , input . or . email ) ,
7575 ) ;
7676 }
7777 if ( input . or . firstName ) {
7878 orConditions . push (
7979 this . generateWhereClauseForStringSearch (
80- 'User .firstName' ,
80+ 'user .firstName' ,
8181 input . or . firstName ,
8282 ) ,
8383 ) ;
8484 }
8585 if ( input . or . middleName ) {
8686 orConditions . push (
8787 this . generateWhereClauseForStringSearch (
88- 'User .middleName' ,
88+ 'user .middleName' ,
8989 input . or . middleName ,
9090 ) ,
9191 ) ;
9292 }
9393 if ( input . or . lastName ) {
9494 orConditions . push (
9595 this . generateWhereClauseForStringSearch (
96- 'User .lastName' ,
96+ 'user .lastName' ,
9797 input . or . lastName ,
9898 ) ,
9999 ) ;
You can’t perform that action at this time.
0 commit comments