mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-24 08:53:05 +03:00
Make sure the search method sorts by update_datetime in descending order
This commit is contained in:
parent
581609ea43
commit
c8ebfae7ff
5 changed files with 5 additions and 5 deletions
|
@ -63,7 +63,7 @@ class Appointments extends EA_Controller {
|
|||
|
||||
$keyword = request('keyword', '');
|
||||
|
||||
$order_by = 'name ASC';
|
||||
$order_by = 'update_datetime DESC';
|
||||
|
||||
$limit = request('limit', 1000);
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ class Categories extends EA_Controller {
|
|||
|
||||
$keyword = request('keyword', '');
|
||||
|
||||
$order_by = 'name ASC';
|
||||
$order_by = 'update_datetime DESC';
|
||||
|
||||
$limit = request('limit', 1000);
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ class Services extends EA_Controller {
|
|||
|
||||
$keyword = request('keyword', '');
|
||||
|
||||
$order_by = 'name ASC';
|
||||
$order_by = 'update_datetime DESC';
|
||||
|
||||
$limit = request('limit', 1000);
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ class Unavailabilities extends EA_Controller {
|
|||
|
||||
$keyword = request('keyword', '');
|
||||
|
||||
$order_by = 'name ASC';
|
||||
$order_by = 'update_datetime DESC';
|
||||
|
||||
$limit = request('limit', 1000);
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ class Webhooks extends EA_Controller {
|
|||
|
||||
$keyword = request('keyword', '');
|
||||
|
||||
$order_by = 'name ASC';
|
||||
$order_by = 'update_datetime DESC';
|
||||
|
||||
$limit = request('limit', 1000);
|
||||
|
||||
|
|
Loading…
Reference in a new issue