[Rt-commit] r8173 -
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident
ruz at bestpractical.com
ruz at bestpractical.com
Mon Jul 16 15:14:10 EDT 2007
Author: ruz
Date: Mon Jul 16 15:14:05 2007
New Revision: 8173
Modified:
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html
Log:
* workaround(hack) a problem until we find the right way to deal with it
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html Mon Jul 16 15:14:05 2007
@@ -209,6 +209,15 @@
return $m->comp("Display.html", results => \@results, id => $id);
}
+# XXX, BLOODY-DIRTY-EVIL HACK: when we load the page first time we should
+# select all children by default, but we have no way to do that right now
+# without something like this
+foreach (qw(SelectedReports SelectedInvestigations SelectedBlocks)) {
+ if ( !exists $ARGS{ $_ } && !exists $ARGS{ $_ .'All'} ) {
+ push @{ $m->{'request_args'} }, $_ .'All' => 1;
+ }
+}
+
my ($BaseQuery, %BaseQuery) = ( '', () );
foreach my $queue ( @queues ) {
my $tmp = $m->comp('/RTIR/Elements/BaseQuery', Queue => $queue);
More information about the Rt-commit
mailing list