issue #0001756: Search bug fixed

This commit is contained in:
Arman KYOKCHAN 2013-10-24 05:17:26 +00:00
parent b5875b38c6
commit c1513bed9c
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,6 @@
<b>
<?$address=$this->resultat->Address->HouseNumber.':'.$this->resultat->Address->Street.':'.$this->resultat->Address->PostCode.':'.$this->resultat->Address->City;
$address=str_replace('/', '_', $address);?>
<?if (in_array($this->resultat->CompanyId, $this->TestCompanies)):?>
<a href="<?php echo $this->url(
array('controller' => 'giant', 'action' => 'identite',
@ -8,7 +10,7 @@
'Pays' => $this->resultat->Address->Country,
'telephone' => $this->resultat->TelephoneNumbers->TelephoneNumber[0],
'test' => '0',
'Adresse' => $this->resultat->Address->HouseNumber.':'.$this->resultat->Address->Street.':'.$this->resultat->Address->PostCode.':'.$this->resultat->Address->City));?>">
'Adresse' => $address));?>">
<?php echo $this->resultat->RegisteredName.' -'; ?>
</a>
<span class='testSearch'><a href="<?php echo $this->url(
@ -19,7 +21,7 @@
'Pays' => $this->resultat->Address->Country,
'telephone' => $this->resultat->TelephoneNumbers->TelephoneNumber[0],
'test' => '1',
'Adresse' => $this->resultat->Address->HouseNumber.':'.$this->resultat->Address->Street.':'.$this->resultat->Address->PostCode.':'.$this->resultat->Address->City));?>">
'Adresse' => $address));?>">
<?php echo ' TEST MODE'; ?>
</a></span>
<?else:?>
@ -31,7 +33,7 @@
'Pays' => $this->resultat->Address->Country,
'telephone' => $this->resultat->TelephoneNumbers->TelephoneNumber[0],
'test' => '0',
'Adresse' => $this->resultat->Address->HouseNumber.':'.$this->resultat->Address->Street.':'.$this->resultat->Address->PostCode.':'.$this->resultat->Address->City));?>">
'Adresse' => $address));?>">
<?php echo $this->resultat->RegisteredName; ?>
</a>
<?endif?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B