Fix sorting of seenby/path items in echomail/netmail. Add rogue_seenby to seenby in echomail

This commit is contained in:
2024-05-23 15:16:47 +10:00
parent dc212d35fb
commit 5fc69067fb
4 changed files with 40 additions and 6 deletions

View File

@@ -222,7 +222,8 @@ final class Echomail extends Model implements Packet
public function path()
{
return $this->belongsToMany(Address::class,'echomail_path')
->withPivot(['id','parent_id','recv_pkt','recv_at']);
->withPivot(['id','parent_id','recv_pkt','recv_at'])
->orderBy('id','DESC');
}
/* ATTRIBUTES */