Optimise the queries used to display packet contents and show DBID if msgid is not available

This commit is contained in:
2023-11-23 21:55:39 +11:00
parent b3dfca5b89
commit 19338edcb6
4 changed files with 23 additions and 15 deletions

View File

@@ -154,7 +154,8 @@ final class Netmail extends Model implements Packet
public function tftn()
{
return $this
->belongsTo(Address::class);
->belongsTo(Address::class)
->withTrashed();
}
/* METHODS */