Skip to content

Sort by 'id' includes namespace as well #374

@chrisisbd

Description

@chrisisbd

This is either a bug or incorrect documentation.

If you include pages using 'namespace' and sort by 'Page ID' the resulting pages are actually sorted by 'namespace+id'. I suppose this might be what's wanted in some cases but I want to sort solely by the page ID so from my point of view it's a bug, for others it might be a documentation error.

It's fairly obvious why the pages get sorted this way, looking at lines 742 to 749 (or thereabouts) of helper.php in the include plugin the array pages[] which gets sorted is a list of the full namespace+id of each page to be included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions