[issue2551341] if @colums missing from an index url, the group headers colspan property = 0

John Rouillard <[email protected]> Tue, 23 Apr 2024 23:32:22 +0000
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from John Rouillard:

It looks like colspan for the group headers is derived from count(@columns).
If @colums is missing it becomes 0, but the backend code displays all columns
of the issue class.

Changing:


  <th tal:attributes="colspan python:len(request.columns)" class="group">

to an arbitrary large number:

  <th tal:attributes="colspan python:len(request.columns) or 100" class="group">

solves the issue. I don't think it has any bad effects.

Comments?

----------
assignee: rouilj
components: Web interface
messages: 8011
nosy: rouilj
severity: minor
status: new
title: if @colums missing from an index url, the group headers colspan property = 0
type: behavior

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551341>
_________________________________________________