Skip to content

Commit

Permalink
Fix Model search
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschucki committed May 9, 2024
1 parent a09b2f8 commit b7f77b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/CanSetupWorkflows.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public static function getModelOptions(?Model $model, string $search = ''): arra
return [
$model->getKey() => $model->getTitelAttributeForWorkflow(),
];
});
})->toArray();
}

return $model::take($iMaxResults)->get()->mapWithKeys(function ($model) {
Expand Down

0 comments on commit b7f77b0

Please sign in to comment.