Roundup Tracker - Issues

Issue 473122

Title: Issue id sorting
Type: Severity: normal
Components: Web interface Versions:
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: richard Nosy List: dubois, richard
Priority: normal Keywords:

Created on 2001-10-20 12:17 by richard, last changed 2004-09-20 17:23 by dubois.

msg20 Author: [hidden] (richard) Date: 2001-10-20 12:17
[copied from roundup-devel e-mail]

It seems that roundup treats the ID of an issue as a 
string and not as a number. The problem then is that 
sorting is wrong, if one wants to sort with respect 
to the issue ID one expects to get e.g.

  1   2   3   4   5   6   7 ...

but at the moment one gets this order:

  1   10   11   12  ...  19   2   20   21  ...

This should be changed I think.


msg21 Author: [hidden] (richard) Date: 2001-10-20 12:20
Logged In: YES 

There is currently no concept of a numeric property, nor 
would it be possible in the current database to 
automagically sort the id field as numbers. One of these 
things needs to change.

I think it's probably that we need a Number property. But 
too many properties spoil the broth.

msg22 Author: [hidden] (richard) Date: 2001-10-21 00:37
Logged In: YES 

Went with the int() approach.
msg23 Author: [hidden] (dubois) Date: 2004-09-20 17:23
Logged In: YES 

I just tried a sort by id and it still is lexographic.
Date User Action Args
2001-10-20 12:17:53richardcreate