summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/request/queue.json.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/request/queue.json.tmpl b/template/en/default/request/queue.json.tmpl
index ec0f0ef66..7f86072b4 100644
--- a/template/en/default/request/queue.json.tmpl
+++ b/template/en/default/request/queue.json.tmpl
@@ -8,7 +8,7 @@
[% RAWPERL %]
my @display_columns = (
"requester", "requestee", "type", "status", "bug_id", "bug_summary",
- "attach_id", "attach_summary", "ispatch", "created", "category"
+ "attach_id", "attach_summary", "ispatch", "created", "category", "restricted"
);
my $requests = $stash->get('requests');
my $time_filter = $context->filter('time', [ '%Y-%m-%dT%H:%M:%SZ', 'UTC' ]);
@@ -28,7 +28,7 @@ foreach my $request (@$requests) {
elsif ( $column =~ /_id$/ ) {
$val = $request->{$column} ? 0 + $request->{$column} : undef;
}
- elsif ( $column =~ /^is/ ) {
+ elsif ( $column =~ /^is/ or $column eq 'restricted' ) {
$val = $request->{$column} ? \1 : \0;
}
else {