[RESOLVED] sort Assign Requirements to Test Case

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
Bertrand
TestLink user
Posts: 2
Joined: Wed May 20, 2009 12:23 pm

[RESOLVED] sort Assign Requirements to Test Case

Post by Bertrand »

Hi all,
it could be great to be able to sort "available requirment" in the view "assign requirment".
Short by : "document ID" or "requirment"
In my version 1.8.2, this view is sort only by requirment.
Last edited by Bertrand on Wed May 20, 2009 1:31 pm, edited 1 time in total.
Bertrand
TestLink user
Posts: 2
Joined: Wed May 20, 2009 12:23 pm

Post by Bertrand »

To solve my "problem",
I upadated the funtion get_requirements in the file requirement_spec_mgr.class.php

Now the parameters
order_by=" ORDER BY req_doc_id,NH.node_order,title"
instead of
order_by=" ORDER BY NH.node_order,title,req_doc_id"
yogo2000
TestLink user
Posts: 1
Joined: Mon Aug 09, 2010 1:25 pm

Re: [RESOLVED] sort Assign Requirements to Test Case

Post by yogo2000 »

I import my requirements via CSV, and i want to have the same sort like in the .csv file

To solve my "problem", I upgraded too the funtion get_requirements in the file requirement_spec_mgr.class.php

function get_requirements($id, $range = 'all', $testcase_id = null,
$order_by=" ORDER BY id,req_doc_id,NH.node_order,title")
Locked