msjit / testcasedb

TestCaseDB - Web based test case management
MIT License
40 stars 18 forks source link

Sorting of categories alphabetically #69

Closed caschulz88 closed 9 years ago

caschulz88 commented 9 years ago

Hi,

there are two issues in TestCaseDB in case you add multiple sub categories to a category:

  1. They are sorted using their IDs instead of using alphabetically sorting.
  2. The ID sorting is also broken. The number 100 is higher in the list as then entry 99 for example, since TestCaseDB only checks that the 1 is lower than the 9 instead of taking care of the whole number.

Fix 1 is really want I need, but Fix 2 should also be done in case the algorithm will be used in some other code fragments too.

caschulz88 commented 9 years ago

Can be closed. I opened a new issue for that with our priority added:

https://github.com/msjit/testcasedb/issues/91