Skip to content

Commit 10e04c5

Browse files
committed
Add sortable meta value to field
1 parent 1345c5f commit 10e04c5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/NovaInlineRelationship.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ protected function resolveResourceFields($resource, $attribute, $properties)
284284
'singular' => $this->isSingularRelationship($resource, $attribute),
285285
'deletable' => $this->isRelationshipDeletable($resource, $attribute),
286286
'addChildAtStart' => $this->requireChild,
287+
'sortable' => ! empty($this->sortUsing),
287288
]);
288289

289290
$this->updateFieldValue($resource, $attribute, $properties);

0 commit comments

Comments
 (0)