Remove zero padding for ticket ID

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
gurksallad
Posts: 18
Joined: 30 Jan 2020, 07:42

Remove zero padding for ticket ID

Post by gurksallad »

Is there a configuration variable we can change to remove any leading zeroes from the ticket ID? In particular in the "View Issues" and "View Issue Details" pages. Elsewhere it does not matter.
Attachments
mantisbt_ticket.png
mantisbt_ticket.png (7.6 KiB) Viewed 4550 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Remove zero padding for ticket ID

Post by atrol »

Add the following line to file config_inc.php

Code: Select all

$g_display_bug_padding = 0;
Please use Search before posting and read the Manual
Post Reply