Modification de la recherche pour Giant en FR
This commit is contained in:
parent
d5902d0cfc
commit
776b2ef14c
@ -57,7 +57,7 @@ foreach (array('siret',
|
||||
|
||||
<?php
|
||||
if (isset($formR['pays']) == false) {
|
||||
$formR['pays'] = 'FR';
|
||||
$formR['pays'] = '';
|
||||
}
|
||||
if (hasModeEdition()) {
|
||||
$recherchePaysListe = array(
|
||||
@ -68,6 +68,7 @@ if (hasModeEdition()) {
|
||||
print '<div class="fieldgrp">';
|
||||
print '<label>Pays</label>';
|
||||
print '<select name="formR[pays]">';
|
||||
print '<option value=""></option>';
|
||||
foreach ($recherchePaysListe as $index => $valeur) {
|
||||
print '<option value="'.$index.'"';
|
||||
if ($formR['pays'] == $index) {
|
||||
|
@ -186,7 +186,7 @@ if (isset($_REQUEST['p'])) {
|
||||
// --------------------------------------------------------------------------- //
|
||||
// Giant
|
||||
// --------------------------------------------------------------------------- //
|
||||
if ($typeRech == 'ent' && isset($formR['pays']) && $formR['pays'] != 'FR') {
|
||||
if ($typeRech == 'ent' && !empty($formR['pays'])) {
|
||||
include_once('giant/Search.php');
|
||||
exit;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user