From 29d70960b1ec605421d46606c382538f68abcd80 Mon Sep 17 00:00:00 2001 From: Duncan McClean <19637309+duncanmcclean@users.noreply.github.com> Date: Mon, 30 Oct 2023 21:06:40 +0000 Subject: [PATCH] [4.x] Fixed issue when resetting columns on Entry Listing Table (#8896) --- src/Http/Resources/CP/Entries/Entries.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Http/Resources/CP/Entries/Entries.php b/src/Http/Resources/CP/Entries/Entries.php index 115f2c9a74..6674ed200d 100644 --- a/src/Http/Resources/CP/Entries/Entries.php +++ b/src/Http/Resources/CP/Entries/Entries.php @@ -36,6 +36,7 @@ private function setColumns() ->listable(true) ->visible(true) ->defaultVisibility(true) + ->defaultOrder($columns->count() + 1) ->sortable(false); $columns->put('status', $status);