Hello,
I've got a generic question. In my wiki I'm using many sorted lists. But there
must be a smarter way of creating these lists then what I'm doing now. Currently
I'm doing the following:
Form 1 used to fill out object of type Project, with several attributes such as the
project name and status. On a overview page I want to order the projects by name based on
their status. This will create something like:
- active:
- project1
- project4
- closed:
- project2
- project5
- deprecated:
- project3
In which all the projects are links to the pages of the projects, containing all the
project information.
Has anybody any idea of a smart way of doing this. Currently I'm looping through all
project objects for every possible status. This is way too much overhead.
Thanks,
Joep