Skip to content

Commit

Permalink
1.6.1dev: fix empty <caption class="trac-group"> element from query…
Browse files Browse the repository at this point in the history
… view without group parameter

git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/1.6-stable@17874 af82e41b-90c4-0310-8c96-b1721e28e2e2
  • Loading branch information
jomae committed Feb 5, 2025
1 parent 900ea35 commit e43cc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trac/ticket/templates/query_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h2 class="report-result" >
# endmacro

<table class="listing tickets">
# if len(groups) > 0:
# if len(groups) > 0 and groups[0][0] is not none:
<caption class="trac-group">
${group_heading(*groups[0])}
</caption>
Expand Down

0 comments on commit e43cc4e

Please sign in to comment.