Skip to content

Cannot insert node after one of same level #40

@simone-bianco

Description

@simone-bianco

As title

$a = Location::where('name', 'a')->firstOrFail();
$b= Location::where('name', 'b')->firstOrFail();
$a->insertAfter($b)->save();

Nodes are not moved. What am I getting wrong?

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