diff --git a/resources/views/bread/browse.blade.php b/resources/views/bread/browse.blade.php index c06fa33f34..c48f2c2977 100644 --- a/resources/views/bread/browse.blade.php +++ b/resources/views/bread/browse.blade.php @@ -79,13 +79,13 @@ @if($showCheckboxColumn) - + @endif @foreach($dataType->browseRows as $row) - @if ($isServerSide) + @if ($isServerSide && $row->type !== 'relationship') @endif {{ $row->getTranslatedAttribute('display_name') }} @@ -101,7 +101,7 @@ @endif @endforeach - {{ __('voyager::generic.actions') }} + {{ __('voyager::generic.actions') }} @@ -327,7 +327,9 @@ array_merge([ "order" => $orderColumn, "language" => __('voyager::datatable'), - "columnDefs" => [['targets' => -1, 'searchable' => false, 'orderable' => false]], + "columnDefs" => [ + ['targets' => 'dt-not-orderable', 'searchable' => false, 'orderable' => false], + ], ], config('voyager.dashboard.data_tables', [])) , true) !!});