Skip to content

Commit 42193d6

Browse files
committed
fix index of filament-tree columns
1 parent 5bd456b commit 42193d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Macros/BlueprintMarcos.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public function treeColumns()
1414
{
1515
return function (string $titleType = 'string') {
1616
$this->{$titleType}(Utils::titleColumnName());
17-
$this->integer(Utils::parentColumnName())->default(Utils::defaultParentId());
18-
$this->integer(Utils::orderColumnName())->default(0)->index();
17+
$this->integer(Utils::parentColumnName())->default(Utils::defaultParentId())->index();
18+
$this->integer(Utils::orderColumnName())->default(0);
1919
};
2020
}
2121
}

0 commit comments

Comments
 (0)