Skip to content

Commit

Permalink
fix: remove unnecessary check in blade
Browse files Browse the repository at this point in the history
  • Loading branch information
fdalcin committed Feb 13, 2024
1 parent ac52bb6 commit 0963381
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/books/assign.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="wrap">
<h1 class="wp-heading-inline">{{ __('Assign Books', 'pressbooks-multi-institution') }}</h1>

@if(! empty($params['s']) && ! empty($params['orderby']))
@if(! empty($params['s']))
<div class="filtering">
<ul>
<li>
Expand Down
1 change: 0 additions & 1 deletion src/Controllers/AssignBooksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public function index(): string
'page' => 'pb_multi_institution_assign_book',
'params' => collect($filters)
->flatMap(fn (string $filter, string $key) => [$key => $_REQUEST[$key] ?? $filter])
->filter()
->toArray(),
'result' => $result,
'table' => $this->table,
Expand Down

0 comments on commit 0963381

Please sign in to comment.