Sort all TestLink test projects in alphabetical order

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
monsieur_jj
TestLink user
Posts: 14
Joined: Mon Mar 24, 2008 5:59 am

Sort all TestLink test projects in alphabetical order

Post by monsieur_jj »

Hi all,

How do I sort the test project in the index page in alphabetical order? Which php file should I look for? Is that as simple as Order by?

thanks,
Jayjay
PrakashC
TestLink user
Posts: 5
Joined: Fri Sep 25, 2009 9:47 am

Sort all TestLink test projects in alphabetical order

Post by PrakashC »

I am also looking into this.. Were you able to solve it?
Please let me know.
Cyrille
Advanced user
Posts: 28
Joined: Mon Aug 27, 2007 8:52 am
Location: FRANCE (Brittany)

Post by Cyrille »

Hello,

this is an option in installation_manual_testlink184.pdf :

$tlCfg->gui->tprojects_combo_order_by='ORDER BY nodes_hierarchy.id DESC'

in 5.7.2-GUI Layout

On my own, i've put:
$tlCfg->gui->tprojects_combo_order_by=' and nodes_hierarchy.parent_id is NULL ORDER BY nodes_hierarchy.name ASC';

and it works

Put it in custom_config.inc.php
Last edited by Cyrille on Thu Oct 08, 2009 7:30 am, edited 1 time in total.
PrakashC
TestLink user
Posts: 5
Joined: Fri Sep 25, 2009 9:47 am

Sort all TestLink test projects in alphabetical order

Post by PrakashC »

Thanks Cyrille.

Its done. :D Thanks alot.
Locked