Remove some debugging left from previous commits, fix Address::scopeTrashed(), change display of BBS list

This commit is contained in:
2023-07-07 22:42:02 +10:00
parent 6c75659395
commit 30c11956dd
3 changed files with 6 additions and 42 deletions

View File

@@ -75,9 +75,6 @@ class Address extends Model
public function scopeTrashed($query)
{
return $query->select($this->getTable().'.*')
->join('zones',['zones.id'=>'addresses.zone_id'])
->join('domains',['domains.id'=>'zones.domain_id'])
->orderBy('domains.name')
->withTrashed()
->FTNorder();
}