| Summary: | navigator sorting wrong after creating folder | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Boris Bokowski <bokowski> |
| Component: | Client | Assignee: | Susan McCourt <susan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Boris Bokowski
fixed >20110223. This was actually a more general problem that could also be observed by expanding a folder for the first time in either the table or tree view. The first time it would sort everything alphabetically regardless of file/folder (the way the server returns it). Collapse and expand again and it would be correct. We were caching and sorting a copy of the children on the parent, but using the original json array from the server in the subsequent UI updating. On the second expand, we find the (sorted) cache and the problem corrects itself. Fixed by not making a copy, there was no need to do this. |