mapper search wip

This commit is contained in:
salam committed 2025-12-29 19:40:30 +01:00
1 parent b475d78f43
commit ed54d9f8e4
3 files changed
+109 -46

No files matched your search

+1 -1
View File
@@ -20,6 +20,6 @@ class CompetitionGroup extends Model
public function country()
{
return $this->belongsTo(Country::class);
return $this->belongsTo(Country::class, 'country_id', 'tx_id')->where('disabled', 0)->where('is_country', 1);
}
}