1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications/phriction
epriestley 2ea5c0bdda Sort ghost children correctly in Phriction
Summary:
Currently, if some page /x/ has a grandchild at /x/y/z/ but /x/y/ does not exist, we insert a ghost entry for it in the "Document Hierarchy". However, we don't sort the hierarchy properly after inserting ghosts, so they always appear at the bottom and in an unuseful order.

Instead, sort children again after any ghost insertions.

Test Plan: Created /x/a/, /y/a/, /z/a/, verified ghosts sorted incorrectly before this patch and correctly afterward.

Reviewers: btrahan, vrana

Reviewed By: vrana

CC: aran

Maniphest Tasks: T1750

Differential Revision: https://secure.phabricator.com/D3418
2012-08-31 11:52:24 -07:00
..
application Use sprites for (nearly) all application icons 2012-08-14 14:23:55 -07:00
constants Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
controller Sort ghost children correctly in Phriction 2012-08-31 11:52:24 -07:00
editor Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
storage Add a generic multistep Markup cache 2012-07-09 15:20:56 -07:00