Sort Bugnotes in desc order in email notification

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
augur
Posts: 11
Joined: 09 Jul 2008, 08:03

Sort Bugnotes in desc order in email notification

Post by augur »

Hi.

How could I change the ordering of the bugnotes in the email notfification to desc? It is better to read with mobile email clients like blackberry, if the new reply is the first one.

I could not find anything in the config.inc, which has an impact on the ordering.

Thanks in advance,
augur
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: Sort Bugnotes in desc order in email notification

Post by vzw614 »

In config_inc.php edit

Code: Select all

###############################
# Mantis Bugnote Settings
###############################

# --- bugnote ordering ------------
# change to ASC or DESC
$g_bugnote_order		= 'DESC';
You can also change the order of the history

Code: Select all

################################
# Mantis Bug History Settings
################################

# --- bug history visible by default when you view a bug ----
# change to ON or OFF
$g_history_default_visible	= ON;

# --- bug history ordering ----
# change to ASC or DESC
$g_history_order		= 'ASC';
augur
Posts: 11
Joined: 09 Jul 2008, 08:03

Re: Sort Bugnotes in desc order in email notification

Post by augur »

Hi.

But this does influence the behaviour in the web. I want only change the sorting in the notification email.

thx, augur
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: Sort Bugnotes in desc order in email notification

Post by vzw614 »

Yes, it affects the email layout as well as the way it is displayed on the webpage. I don't believe there is a way to change just the email unless you edit the php file that generates the email.
augur
Posts: 11
Joined: 09 Jul 2008, 08:03

Re: Sort Bugnotes in desc order in email notification

Post by augur »

Hi.

But the bugnote ordering thing is already set to desc. It does not influence the system, although if I change it to asc? Is that a bug in mantis?

By the way I use release 1.1.1

augur
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: Sort Bugnotes in desc order in email notification

Post by vzw614 »

It may have been a bug in 1.1.1. You can search for it in the Mantis issues at http://www.mantisbt.org/bugs/login_page.php
Post Reply