Current nodesymlinks restore feature (after disabling and than re-enabling the module) is able to restore this menu structure:
|-- Nodesymlink 1-1 (case A)
|
|-- Page (case B)
| |-- Nodesymlink 1-2
|
|-- Node 1 (case C)
|-- Nodesymlink 1-3
But isn't able to restore this:
|-- Nodesymlink 1-1 (case D)
| |-- Nodesymlink 2-1
|
|-- Nodesymlink 1-2 (case E)
|-- Nodesymlink 1-3
Case E and D are exceptional cases and case E is nearly nonsense, but we should provide as best "restore" as it is possible.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | nodesymlinks-977376-4-better_restore.patch | 672 bytes | simon georges |
Comments
Comment #1
simon georges commentedComment #2
simon georges commentedWould a sort on the query be sufficient to treat the menu items in the right order?
Comment #3
wojtha commentedYeah, sorting by menu parents seem like a right way to go.
Comment #4
simon georges commentedFirst attempt at a patch.
This patch is part of the #1day1patch initiative.