|
From: Benjamin C. <bc...@us...> - 2003-04-04 13:29:29
|
Update of /cvsroot/phpbt/phpbt
In directory sc8-pr-cvs1:/tmp/cvs-serv22772
Modified Files:
query.php
Log Message:
Fixes bug #637136 - Added closed_in_version and to_be_closed_in_version selections to advanced query page
Index: query.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/query.php,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- query.php 27 Mar 2003 13:25:40 -0000 1.93
+++ query.php 4 Apr 2003 13:29:24 -0000 1.94
@@ -139,6 +139,8 @@
if (!empty($projects)) {
$proj[] = "b.project_id = $projects";
if (!empty($versions) and $versions != 'All') $proj[] = "b.version_id = $versions";
+ if (!empty($closedinversion) and $closedinversion != 'All') $proj[] = "b.closed_in_version_id = $closedinversion";
+ if (!empty($tobeclosedinversion) and $tobeclosedinversion != 'All') $proj[] = "b.to_be_closed_in_version_id = $tobeclosedinversion";
if (!empty($components) and $components != 'All') $proj[] = "b.component_id = $components";
$query[] = '('.@join(' and ',$proj).')';
} elseif (!$perm->have_perm('Admin')) { // Filter results from hidden projects
|