*/
public function isExtendable($oSearch, $oPosition)
{
- return !$oSearch->hasCountry() && $oPosition->maybePhrase('country');
+ return !$oSearch->hasCountry()
+ && $oPosition->maybePhrase('country')
+ && $oSearch->getContext()->isCountryApplicable($this->sCountryCode);
}
/**