From ad41364c59555f43e6eeea550d7b40f013fb405b Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Thu, 14 Jul 2011 05:54:20 +0000 Subject: [PATCH] Make ChangeLog and News archive searches work --- search.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/search.php b/search.php index e62d5359e..6ecdfcfbe 100644 --- a/search.php +++ b/search.php @@ -81,12 +81,12 @@ if (!empty($_FORM['pattern'])) { case "news_archive": $p = urlencode($_FORM['show']); - mirror_redirect($MYSITE . "results.php?q=title:news%2Barchive+{$ucp}&p=local"); + mirror_redirect($MYSITE . "results.php?q=intitle:news%2Barchive+{$ucp}&p=local"); break; case "changelogs": $p = urlencode($_FORM['show']); - mirror_redirect($MYSITE . "results.php?q=title:changelog%2Barchive+{$ucp}&p=all"); + mirror_redirect($MYSITE . "results.php?q=intitle:ChangeLog+{$ucp}&p=local"); break; // Covers the rest