Skip to content

[Feature] add reverse api for array #176

@xihale

Description

@xihale

Current State

The subpages API currently returns an array sorted by date, with the newest subpage appearing first. However, I want the newest subpage to be the last one processed in a loop. I’m unsure how to implement this, but I believe a reverse API could solve this issue.

Expectation

Calling $page.subpages().reverse() should return an array with the same subpages as $page.subpages(), but in reverse order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions