Commit 26818a4b00eb69962ec78629b1b92548b9f5fe0e
Merge branch 'master' of gitlab.artweb.com.ua:Alex/semena
Showing
2 changed files
with
6 additions
and
4 deletions
Show diff stats
src/app/backend/controllers/CustomersController.php
src/lib/models/customers.php
... | ... | @@ -29,7 +29,8 @@ class customers extends \db |
29 | 29 | SELECT * FROM |
30 | 30 | public.customers |
31 | 31 | WHERE |
32 | - email LIKE \'%'.$like.'%\'' | |
32 | + email LIKE \'%'.$like.'%\' | |
33 | + ' | |
33 | 34 | , |
34 | 35 | [ |
35 | 36 | ], |
... | ... | @@ -43,7 +44,8 @@ class customers extends \db |
43 | 44 | SELECT * FROM |
44 | 45 | public.customers |
45 | 46 | WHERE |
46 | - status = 1' | |
47 | + status = 1 | |
48 | + ' | |
47 | 49 | , |
48 | 50 | [ |
49 | 51 | ], |
... | ... | @@ -72,7 +74,7 @@ class customers extends \db |
72 | 74 | SELECT * FROM |
73 | 75 | public.customers |
74 | 76 | ORDER BY |
75 | - id ASC | |
77 | + id DESC | |
76 | 78 | LIMIT |
77 | 79 | '.\config::get( 'limits/admin_orders' ).' |
78 | 80 | OFFSET | ... | ... |