Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
saade committed Mar 3, 2024
1 parent 75df530 commit a6c6a17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/filament-laravel-log.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'fontSize' => 12,

/**
* Number of rows in the search bar
* Limit the number of results returned from the search.
*/
'searchBarRows' => 5,
'limit' => 5,
];
2 changes: 1 addition & 1 deletion src/Pages/ViewLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function form(Form $form): Form
->placeholder(fn (): string => __('log::filament-laravel-log.page.form.placeholder'))
->live()
->options(
fn () => $this->getFileNames($this->getFinder())->take(config('filament-laravel-log.searchBarRows'))
fn () => $this->getFileNames($this->getFinder())->take(config('filament-laravel-log.limit'))
)
->searchable()
->getSearchResultsUsing(
Expand Down

0 comments on commit a6c6a17

Please sign in to comment.