mapper search wip
This commit is contained in:
1 parent
b475d78f43
commit
ed54d9f8e4
3 files changed
+109
-46
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user