diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-24 05:13:26 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-24 05:13:26 (GMT) |
commit | 469dab76f117285bcb9e06e0ad39e193ff92969f (patch) | |
tree | 58700cbc06c61076dcca7b23162681f80c6d5478 | |
parent | 4849a073e3b63c360e8a8a4ce94e3d60e1d72a83 (diff) |
Take into account all versions in refine search bar
-rw-r--r-- | site/app/views/search/index.thtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/views/search/index.thtml b/site/app/views/search/index.thtml index c7b9d37..dc8db13 100644 --- a/site/app/views/search/index.thtml +++ b/site/app/views/search/index.thtml @@ -117,7 +117,7 @@ global $app_shortnames, $app_prettynames; <ul class="refinements"> <?php $selected = ""; - if ($hver == "any" && $lver == "any") { + if (($hver == "any" || $hver == "-1") && ($lver == "any" || $lver == "-1")) { $selected = " class='selected'"; } echo '<li'.$selected.'><a href="'.$html->url("/search?q=".$search_terms."&appid=".$appid."&cat=".$category[0].",".$category[1]."&tag=".$tag."&atype=".$atype."&pid=".$pid."&lup=".$lup."&sort=".$sort."&hver=any&lver=any&vfuz=".$vfuz."&pp=".$pp).'">All versions</a></li>'; |