Browse Source

default order

Alexander Musikhin 1 tuần trước cách đây
mục cha
commit
7dde5825fc
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Models/NotificationDeliveryLog.php

+ 1 - 0
app/Models/NotificationDeliveryLog.php

@@ -21,6 +21,7 @@ class NotificationDeliveryLog extends Model
     public const STATUS_DEAD_LETTER = 'dead_letter';
 
     public const DEFAULT_SORT_BY = 'created_at';
+    public const DEFAULT_ORDER_BY = 'desc';
 
     protected $fillable = [
         'user_notification_id',