I am using 1.9.5 and was wondering, if there is a way to change the sorting of the appearance in the testprojects pulldown menu ?
A sorting done on the "projects managing page" is not reflected in the pulldown menu.
It seems, that the sorting is done in the sequence the projects have been created. I found nothing in this forum regarding "sorting" here, but a plugin for chrome.
Unfortunately, in our compnay only IE is in use.
thx for a litte hint
Didi
[SOLVED] Sorting of Testproject's Pulldown Menu
Moderators: Amaradana, TurboPT, TL Developers
Re: Sorting of Testproject's Pulldown Menu
An advice: When looking for some feature, etc, you have several sources to investigate in addition to this forum
1. config.inc.php is a good source for information.
give a look and you are going to find an answer
2. our mantis site (always do searches REMOVING the status filter)
1. config.inc.php is a good source for information.
give a look and you are going to find an answer
2. our mantis site (always do searches REMOVING the status filter)
Re: Sorting of Testproject's Pulldown Menu
Thx fman for the hint => 6104 in 1.9.9 

Re: Sorting of Testproject's Pulldown Menu
Unfortunately, the solution posted and recommended in issue 6104 did not bring the expected result.
/**
* Order to use when building a testproject combobox (value must be SQL compliant)
* For example:
* 'ORDER BY name'
* 'ORDER_BY nodes_hierarchy.id DESC' -> similar effect to order last created firts
**/
$tlCfg->gui->tprojects_combo_order_by = 'ORDER BY nodes_hierarchy.id DESC';
I have changed the line to
$tlCfg->gui->tprojects_combo_order_by = 'ORDER BY name';
restarted the server, but the order of displayed projects in the testproject dropdown menu remains as it was (a.k.a creation date) and not alphapetically.
In the issue 6104 description it reads "product version 1.9.9" - Does that means, that from 1.9.9 onward this feature is supported even though in my release (1.9.5)
the config.inc.php contains the example line as described.
(p.s. I tried with IE & FF and with clean caches on both)
Any other hint ?
/**
* Order to use when building a testproject combobox (value must be SQL compliant)
* For example:
* 'ORDER BY name'
* 'ORDER_BY nodes_hierarchy.id DESC' -> similar effect to order last created firts
**/
$tlCfg->gui->tprojects_combo_order_by = 'ORDER BY nodes_hierarchy.id DESC';
I have changed the line to
$tlCfg->gui->tprojects_combo_order_by = 'ORDER BY name';
restarted the server, but the order of displayed projects in the testproject dropdown menu remains as it was (a.k.a creation date) and not alphapetically.
In the issue 6104 description it reads "product version 1.9.9" - Does that means, that from 1.9.9 onward this feature is supported even though in my release (1.9.5)
the config.inc.php contains the example line as described.
(p.s. I tried with IE & FF and with clean caches on both)
Any other hint ?
Re: Sorting of Testproject's Pulldown Menu
'ORDER BY nodes_hierarchy.name'; <<< table ALIAS is needed supported for 1.9.0 and UP
Re: Sorting of Testproject's Pulldown Menu
Thx a lot, that does the job as expected 
