Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
-Subproject commit 786bffb570bfc2f5ff1dad386a9558501d4c16e8
+Subproject commit e8e034fd9237000dba475f8ed890bc52115963d5
parent::__construct($conds, $orders);
}
+ /** Add a "rechercher=Chercher" field to the query to simulate the POST
+ * behaviour.
+ */
+ public function args()
+ {
+ $args = parent::args();
+ if (!isset($args['rechercher'])) {
+ $args['rechercher'] = 'Chercher';
+ }
+ return $args;
+ }
+
protected function &getFilterResults(PlFilter &$pf, PlLimit $limit)
{
$profiles = $pf->getProfiles($limit, Profile::FETCH_MINIFICHES);
<ul class="noprint">
{if $with_soundex && ($smarty.request.firstname || $smarty.request.name)}
<li>Étendre ta recherche par <strong>
- <a href="search/adv{$plset_search}with_soundex=1">proximité sonore</a>
+ <a href="search/adv{$plset_args}with_soundex=1">proximité sonore</a>
</strong>
</li>
{/if}
- <li><strong><a href="search/adv{$plset_search|regex_replace:"/rechercher=[^&]*/":""}">Modifier</a>
+ <li><strong><a href="search/adv{$plset_args|regex_replace:"/rechercher=[^&]*/":""}">Modifier</a>
</strong> ta recherche
</li>