mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix(previews): order application previews by pull request ID in descending order
This commit is contained in:
1 parent
76766017b0
commit
e5a0cdf3b7
1 file changed
+1
-1
@@ -798,7 +798,7 @@ class Application extends BaseModel
|
||||
|
||||
public function previews()
|
||||
{
|
||||
return $this->hasMany(ApplicationPreview::class);
|
||||
return $this->hasMany(ApplicationPreview::class)->orderBy('pull_request_id', 'desc');
|
||||
}
|
||||
|
||||
public function deployment_queue()
|
||||
|
||||
Reference in new issue
Block a user