Title: SF.net SVN: mrbs:[2438] mrbs/trunk/web/report.php
- Revision
- 2438
- Author
- cimorrison
- Date
- 2012-09-26 15:57:44 +0000 (Wed, 26 Sep 2012)
Log Message
Fixed bug when trying to export a report to a .ics file when the status is not "all". See SF Bugs #246
Modified Paths
Diff
Modified: mrbs/trunk/web/report.php (2437 => 2438)
--- mrbs/trunk/web/report.php 2012-09-26 15:41:26 UTC (rev 2437)
+++ mrbs/trunk/web/report.php 2012-09-26 15:57:44 UTC (rev 2438)
@@ -900,21 +900,21 @@
if (($match_private != PRIVATE_BOTH) && ($match_private != ''))
{
$sql .= " AND ";
- $sql .= "(status&" . STATUS_PRIVATE;
+ $sql .= "(E.status&" . STATUS_PRIVATE;
$sql .= ($match_private) ? "!=0)" : "=0)"; // Note that private works the other way round to the next two
}
// Match the confirmation status
if (($match_confirmed != CONFIRMED_BOTH) && ($match_confirmed != ''))
{
$sql .= " AND ";
- $sql .= "(status&" . STATUS_TENTATIVE;
+ $sql .= "(E.status&" . STATUS_TENTATIVE;
$sql .= ($match_confirmed) ? "=0)" : "!=0)";
}
// Match the approval status
if (($match_approved != APPROVED_BOTH) && ($match_approved != ''))
{
$sql .= " AND ";
- $sql .= "(status&" . STATUS_AWAITING_APPROVAL;
+ $sql .= "(E.status&" . STATUS_AWAITING_APPROVAL;
$sql .= ($match_approved) ? "=0)" : "!=0)";
}
------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits