58,7 → 58,7 |
CacheClient cache = CacheClient.getInstance(); |
|
String arguments = ""; |
if (cache.getPageCourante() == ConstantesNavigation.PAGE_RECHERCHE_IMAGES) { |
if (cache.getPageCourante().equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) { |
InformationsRecherche infoRecherche; |
infoRecherche = cache.getInformationsRechercheImage(); |
arguments = infoRecherche.versChaineRequete() + "#" + ConstantesNavigation.PAGE_RECHERCHE_IMAGES; |
71,7 → 71,7 |
if (protocole != "~") { |
url += protocole; |
} |
} else if (cache.getPageCourante() == ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS) { |
} else if (cache.getPageCourante().equals(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS) || cache.getPageCourante().equals("")) { |
InformationsRecherche infoRecherche; |
infoRecherche = cache.getInformationsRechercheObservation(); |
arguments = infoRecherche.versChaineRequete() + "#" + ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS; |
79,6 → 79,9 |
} else { |
url = Window.Location.getHref(); |
} |
// remplacement batard pour corriger l'url |
// TODO: factoriser toute la fonction |
url = url.replaceAll("\\?&", "?"); |
|
return url; |
} |