Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
tor-browser-bundle-testsuite
Commits
1f1637da
Unverified
Commit
1f1637da
authored
Aug 28, 2014
by
boklm
Browse files
Only include the 20 latest reports on the index by type
parent
ed9ad4ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
TBBTestSuite/Reports.pm
View file @
1f1637da
...
...
@@ -149,6 +149,7 @@ sub make_reports_index {
foreach
my
$type
(
$changed_report
?
@changed_type
:
keys
%reports_by_type
)
{
my
@s
=
sort
{
$summaries
{
$b
}
->
{
time
}
<=>
$summaries
{
$a
}
->
{
time
}
}
@
{
$reports_by_type
{
$type
}};
@s
=
@s
[
0
..
19
]
if
@s
>
20
;
load_reports_for_index
(
\
%pre_reports_index
,
@s
);
$template
->
process
("
reports_index_
$type
.html
",
{
%$vars
,
reports_list
=>
\
@s
},
"
index-
$type
.html
")
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment