Hello,
I have fixed this problem by comenting the code below at /components/com_jobboard/views/jajobs/tmpl/themes/your-theme/jalist-item.php
[PHP]
<span class=”ja-job-location”>
<?php if($cats && $jbconfig[‘posts’]->get(‘posts_show_job_location’, 1) ) { ?>
<!–<strong><?php /*?><?php echo JText::_(‘Location’)?>:<?php */?> </strong> –>
<?php foreach ($locations as $location) {
$titleLocation = explode(” “, $location);
$titleLocation = $titleLocation;
?>
<a href=”<?php echo JRoute::_(‘index.php?option=com_jajobboard&view=jajobs&layout=filter_job_list&location_id=’.$titleLocation.”&Itemid=”.$this->Itemid)?>” title=”<?php echo $location?>”><?php echo $location?></a>
<?php } ?>
<?php } ?>
</span>
[/PHP]
and placing this one:
[PHP]
<span class=”ja-job-location”>
<?php foreach ($locations as $d=>$location) { ?>
<?php $location = trim($location);?>
<a href=”<?php echo JRoute::_(‘index.php?option=com_jajobboard&view=jajobs&layout=filter_job_list&location_id=’.$location)?>” title=”<?php echo $location?>”><?php echo $location?></a><?php if($d<count($locations)-1) echo ‘, ‘?>
<?php } ?>
</span>
[/PHP]
It will work with the names of the locations that have more than two words.