Support #355
Projects in Project list are not in alfabetical order
| Status: | Resolved | Start date: | 26/09/2011 | ||
|---|---|---|---|---|---|
| Priority: | Normal | Due date: | |||
| Assignee: | Enrique García | % Done: | 80% |
||
| Category: | - | Spent time: | 4.00 hours | ||
| Target version: | - |
Description
http://www.ohwr.org/projects
The FMC ADC projects are not all together. Same for FMC DIO.
It would be much better if they would be together which would be automatically if they were in alfabetical order. The same is for the drop-down list on the top-right of 'my projects' once logged-in.
There seems to be a somewhat alfabetical order though.
History
Updated by Erik van der Bij 7 months ago
Any idea why this happens?
Updated by Enrique García 5 months ago
Hi Erik,
I investigated this issue while preparing last monday's production release. I have a pretty good idea of why it's happening - it has to do with tree sorting algorithms. I've also found a couple references that seem to indicate that this issue has been fixed in more modern versions of Chiliproject.
I'm afraid I could not find a fix for the last production release, but will try to find one for the next one.
Regards,
Enrique
Updated by Erik van der Bij 2 months ago
Any news about this one?
Updated by Enrique García about 1 month ago
- % Done changed from 0 to 100
- Status changed from New to Closed
Hi Erik,
This bug was fixed on the maintenance updated that we did last monday.
I think it's safe to close down this issue now. If you find the bug again, let me know and I'll reopen it.
Best regards,
Enrique
Updated by Enrique García about 1 month ago
- File list.gif added
- Status changed from Closed to Assigned
Erik provided the the attached screenshot via email.
The update fixed the projects list, but not the dropdown on the upper-right corner.
I'm reopening this issue.
Updated by Erik van der Bij 21 days ago
- Priority changed from Low to Normal
The problem is still there.
Note that in http://www.ohwr.org/users/9 the order is correct. It is only wrong in the pull-down list.
From http://www.ohwr.org/users/9:
Projects
•CernFIP (Manager, 17/02/2010)
•CERN Open Hardware Licence (Manager, 11/08/2011)
•Conv TTL Blocking (Manager, 20/07/2011)
•Conv TTL NIM 3in 30out (Manager, 22/09/2010)
•Conv TTL RS485 (Manager, 09/12/2011)
•Electronics Design (Manager, 30/04/2012)
•FMC ADC 100M 14b 4cha (Manager, 17/02/2010)
•FMC ADC 1G 10b 2cha (Manager, 22/09/2011)
•FMC ADC 200k 16b 11cha (Manager, 19/03/2010)
•FMC Carrier tester (Manager, 06/01/2011)
•FMC DAC 10M 16b 4cha (Manager, 23/06/2010)
•FMC DEL 1ns 4cha (Manager, 23/04/2010)
•FMC DIO 16ch TTL a (Manager, 24/02/2010)
•FMC DIO 5ch TTL a (Manager, 27/05/2011)
•FMC PCIe Carrier (PFC) (Manager, 19/02/2010)
•FMC Projects (Manager, 17/02/2010)
•FMC TDC 1ns 5cha (Manager, 07/12/2010)
•Level conversion circuits (Manager, 29/06/2010)
•nanoFIP Test Board (Manager, 19/03/2010)
•OHR Meta Project (Manager, 03/07/2010)
•OHR Support (Reporter, 17/02/2010)
•Simple PCIe FMC carrier (SPEC) (Manager, 23/06/2010)
•Simple PXIe FMC Carrier (SPEXI) (Manager, 18/01/2012)
•Simple VME FMC Carrier (SVEC) (Manager, 09/08/2011)
•VME FMC Carrier (VFC) (Manager, 19/02/2010)
•White Rabbit (Manager, 17/02/2010)
•Wishbone Serializer Core (Manager, 08/12/2010)
Updated by Enrique García 8 days ago
- % Done changed from 100 to 80
- Status changed from Assigned to Resolved
I've been investigating this issue. Projects are usually ordered by name, but in some occasions they are not. I believe that this happens mostly on projects whose name has been changed; but I'm not still certain.
In any case, it is possible to "rebuild" the project indexes so they are properly sorted out. I have created a task to do just this, and was able to use it successfully on staging. It requires some changes on the source code, though, so we will have to wait until we do the next production release to apply it on the production server. The task is called like this:
rake projects:rebuild
I'll mark this issue as "resolved" but not "closed" until that is done.
Regards,
Enrique