feat(blog): blog yazilari tarihe gore sondan basa (DESC) siralandi
This commit is contained in:
@@ -53,7 +53,7 @@ class CareerApplication extends Model
|
||||
*/
|
||||
public function blogs()
|
||||
{
|
||||
return $this->hasMany(Blog::class, 'career_application_id');
|
||||
return $this->hasMany(Blog::class, 'career_application_id')->orderBy('created_at', 'desc');
|
||||
}
|
||||
|
||||
protected static function booted()
|
||||
|
||||
Reference in New Issue
Block a user