From 4475273c8aa6514b61527135c448615fcba97e2a Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Fri, 16 Oct 2026 00:32:00 +0200 Subject: [PATCH] fix(backups): restore sorting on storage backup tables Closes #11815 --- resources/css/app.css | 11 ++- .../application/backup/index.blade.php | 2 +- .../service/volume-backup/index.blade.php | 2 +- tests/v4/Browser/BackupSortTest.php | 96 +++++++++++++++++++ 4 files changed, 104 insertions(+), 7 deletions(-) create mode 100644 tests/v4/Browser/BackupSortTest.php diff --git a/resources/css/app.css b/resources/css/app.css index c963d109fe..f45494098d 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -2952,13 +2952,14 @@ input[type="search"]::-webkit-search-results-decoration { width: 100%; } -.data-table-row.service-backup-table-grid { - background: var(--coollabs-base); - border-bottom: 1px solid var(--coollabs-fill); +.data-table-header.service-backup-table-grid { + border-bottom: 0; } -.data-table-row.service-backup-table-grid:last-child { - border-bottom: 0; +/* Rows are reordered with CSS order, so dividers must not depend on DOM position. */ +.data-table-row.service-backup-table-grid { + background: var(--coollabs-base); + border-top: 1px solid var(--coollabs-fill); } .data-table-row.service-backup-table-grid:hover { diff --git a/resources/views/livewire/project/application/backup/index.blade.php b/resources/views/livewire/project/application/backup/index.blade.php index 7e89bbcd07..f842ce95d0 100644 --- a/resources/views/livewire/project/application/backup/index.blade.php +++ b/resources/views/livewire/project/application/backup/index.blade.php @@ -167,7 +167,7 @@ @if ($backups->isNotEmpty()) -