From e30d3423039c944646514f1cd7d01e0c5e0fefe9 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 20 Aug 2006 22:20:39 +0000 Subject: [PATCH] r1101: Searching now works again --- search.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/search.php b/search.php index 4fe8283..2b1968f 100644 --- a/search.php +++ b/search.php @@ -295,6 +295,7 @@ if ($_REQUEST['do'] == 'process') } $justprocess = true; + $search = array('ids' => implode(',', $ids), 'orderby' => $sortclause); $_REQUEST['do'] = 'results'; } @@ -369,7 +370,7 @@ if ($_REQUEST['do'] == 'results') $search = $cachedsearch; if ($search['dateline'] < TIMENOW - 900 OR $bugsys->in['rerun']) { - $research = $db->query(str_replace(array("#<'ONBITS:VIEW'>#", "#<'ONBITS:HIDDEN'>#"), array(fetch_on_bits('canviewbugs'), fetch_on_bits('canviewhidden')), $search['query'])); + $research = $db->query(str_replace(array("#<'ONBITS:VIEW'>#", "#<'ONBITS:HIDDEN'>#", "#<'ONBITS:OWNHIDDEN'>#"), array(fetch_on_bits('canviewbugs'), fetch_on_bits('canviewhidden'), fetch_on_bits('canviewownhidden')), $search['query'])); while ($bug = $db->fetch_array($research)) { $ids[] = $bug['bugid']; -- 2.43.5