Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#8056 closed defect (worksforme)

TracQuery shows one decimal for ticket count

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.2
Severity: normal Keywords:
Cc: jonatan@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

A query such as this:

[[TicketQuery(component=MyComponent, count)]]

displays the result with one decimal (2.0 instead of 2), which is quite unnecessary and looks strange.

I'm using Trac 0.11.2.

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 13 years ago

Resolution: worksforme
Status: newclosed
Version: none0.11.2

Works here with 0.11-stable [7863], and here on t.e.o:

Tickets for component "general": 4686

The line above is generated as follows:

  Tickets for component "general": [[TicketQuery(component=general, count)]]

So this is probably a local installation issue. Anything special with your configuration? Any plugins installed?

Feel free to reopen this ticket if you can provide a way to reproduce the issue on a "clean" Trac instance.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.