Skip to content

Commit

Permalink
Fix sorting in listing tables
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Sep 4, 2024
1 parent 98568f6 commit 81c7a7d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions resources/js/components/resources/View.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

<runway-listing
:resource="handle"
:initial-sort-column="sortColumn"
:initial-sort-direction="sortDirection"
:initial-columns="columns"
:filters="filters"
:action-url="actionUrl"
Expand All @@ -44,8 +42,6 @@ export default {
canCreate: { type: Boolean, required: true },
createUrl: { type: String, required: true },
createLabel: { type: String, required: true },
sortColumn: { type: String, required: true },
sortDirection: { type: String, required: true },
columns: { type: Array, required: true },
filters: { type: Array, required: true },
actionUrl: { type: String, required: true },
Expand Down
2 changes: 0 additions & 2 deletions resources/views/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
:can-create="{{ Statamic\Support\Str::bool($canCreate) }}"
create-url="{{ $createUrl }}"
create-label="{{ $createLabel }}"
sort-column="{{ $resource->orderBy() }}"
sort-direction="{{ $resource->orderByDirection() }}"
:columns="{{ $columns->toJson() }}"
:filters="{{ $filters->toJson() }}"
action-url="{{ $actionUrl }}"
Expand Down

0 comments on commit 81c7a7d

Please sign in to comment.