Update of /cvsroot/phpbt/phpbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3853
Modified Files:
bug.php query.php
Log Message:
Fixes for Edit Query and Mass Update
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- bug.php 24 Sep 2005 21:53:43 -0000 1.149
+++ bug.php 27 Sep 2005 19:49:42 -0000 1.150
@@ -513,7 +513,7 @@
}
}
- header("Location: query.php?op=doquery");
+ header("Location: query.php");
}
function add_attachment($bugid, $description) {
Index: query.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/query.php,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- query.php 22 Aug 2005 20:44:16 -0000 1.105
+++ query.php 27 Sep 2005 19:49:42 -0000 1.106
@@ -46,6 +46,9 @@
if ($edit) {
extract($_GET);
+ if (isset($_SESSION['queryinfo']['queryparams'])) {
+ extract($_SESSION['queryinfo']['queryparams']);
+ }
$t->assign('project', isset($projects) ? $projects : null);
$t->assign('version', isset($versions) ? $versions : null);
$t->assign('component', isset($components) ? $components : null);
@@ -365,6 +368,9 @@
if (empty($_SESSION['queryinfo'])) $_SESSION['queryinfo'] = array();
$_SESSION['queryinfo']['order'] = $db_headers[$order];;
$_SESSION['queryinfo']['sort'] = $sort;
+ if (empty($_SESSION['queryinfo']['queryparams']) || !empty($_GET)) {
+ $_SESSION['queryinfo']['queryparams'] = $_GET;
+ }
if (empty($_SESSION['queryinfo']['query']) or isset($op)) {
list($_SESSION['queryinfo']['query'], $paramstr) =
|