diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index 852e6be5..f9720839 100644 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -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); diff --git a/application/controllers/Categories.php b/application/controllers/Categories.php index 1bc4cc76..06e78ad0 100644 --- a/application/controllers/Categories.php +++ b/application/controllers/Categories.php @@ -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); diff --git a/application/controllers/Services.php b/application/controllers/Services.php index e2dd21d1..a659da76 100644 --- a/application/controllers/Services.php +++ b/application/controllers/Services.php @@ -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); diff --git a/application/controllers/Unavailabilities.php b/application/controllers/Unavailabilities.php index 5ea43484..cceb6172 100644 --- a/application/controllers/Unavailabilities.php +++ b/application/controllers/Unavailabilities.php @@ -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); diff --git a/application/controllers/Webhooks.php b/application/controllers/Webhooks.php index d2d37e2e..659dabca 100644 --- a/application/controllers/Webhooks.php +++ b/application/controllers/Webhooks.php @@ -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);