From: Pascal Corpet Date: Sun, 9 Jan 2005 22:40:09 +0000 (+0000) Subject: Bug corrigé : ne propose plus d'agrandir la recherche en soundex lorsqu'elle était... X-Git-Tag: xorg/old~498 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b3c982a514fb2f77f204d08ea6521480b9edf4fc;p=platal.git Bug corrigé : ne propose plus d'agrandir la recherche en soundex lorsqu'elle était déjà en soundex git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-253 --- diff --git a/htdocs/advanced_search.php b/htdocs/advanced_search.php index 88cc9d3..72c242e 100644 --- a/htdocs/advanced_search.php +++ b/htdocs/advanced_search.php @@ -146,6 +146,7 @@ if (!Env::has('rechercher')) { $page->assign('url_args', $url_args); $page->assign('perpage', $globals->search->per_page); $page->assign('nb_tot', $nb_tot); + $page->assign('with_soundex', $with_soundex); if (empty($nb_tot)) { form_prepare(); diff --git a/templates/search.tpl b/templates/search.tpl index 29cbc8b..b39f8b4 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -23,7 +23,7 @@ {if !$advanced} {include file='search.quick.form.tpl' show_js=1} {else} - {include file=search.adv.links.tpl do_title=1} + {include file=search.adv.links.tpl do_title=1 with_soundex=$with_soundex} {/if}