Order children by last changed date

Answered

Comments

5 comments

  • Avatar
    Dustin G

    The workaround would be to search that list by last-changed:[number]d to see how many days ago something was edited. But yes, would be great to sort a list by last changed date. I have a list of recipes, would be great to see what I haven’t cooked in a while.

    0
    Comment actions Permalink
  • Avatar
    Frank (Workflowy Support)

    Hey Dustin,

    If you have access to @rawbytz's WFx PowerPack, I believe he has just now created the script you're looking for. Possibly prompted by this post :-)

    1
    Comment actions Permalink
  • Avatar
    rawbytz

    Full disclosure: I actually had a script partially completed... inspired by numerous requests for this feature.. but yes this post prompted me to finish it. 

    It's important to understand why the script works the way it does. Rather than sort actual WorkFlowy bullets by last-changed, the scripts sorts them virtually and presents the results in a popup dialog. You then click on item to zoom into the actual bullet. 

    The reason actual sorting isn't practical, is the act of moving an item (aka sorting it) alters the last-changed metadata.  If WorkFlowy were to implement sort by last-changed they would have also have to change the way this works. 

    1
    Comment actions Permalink
  • Avatar
    Michael Miller

    If you sorted by searching the list for the least recent change and moved that to the top of the list then repeated the number of times as items there are, you’d end up with a properly sorted list

    0
    Comment actions Permalink
  • Avatar
    rawbytz

    @Michael

    Yep, that would work if you have no need for the timestamp data other than as a sorting mechanism. 

    0
    Comment actions Permalink

Please sign in to leave a comment.