CrashTest.pl
changeset 67 9e95be0b1b8c
parent 57 cebbfcd7deff
child 68 c810480b2c37
--- a/CrashTest.pl	Fri May 08 22:29:20 2015 +0200
+++ b/CrashTest.pl	Sat May 09 23:17:47 2015 +0200
@@ -32,7 +32,10 @@
         die ref $e ? "Exception: $e" : 'Not found!';
     }
 
-    return $storage_class->new(config => $self->app->config->{Storage});
+    return $storage_class->new(
+        config => $self->app->config->{Storage},
+        extra_columns => $self->app->config->{WebInterface}->{ExtraColumns},
+    );
 });
 
 app->attr(decode_queue => sub {
@@ -67,6 +70,7 @@
 
     $self->stash(files => $result->{crashs});
     $self->stash(pager => $result->{pager});
+    $self->stash(extra_columns => $self->app->config->{WebInterface}->{ExtraColumns}->{Index});
     $self->render('index');
 } => 'index';