Skip to content

Commit

Permalink
fix: isExperiment search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
FrantisekMichalSebestyen committed Sep 28, 2023
1 parent 113093b commit 252f959
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/views/components/searchbar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
'class' => 'navbar-form right-inner-addon ukraine',
]) !!}
<i class="fa fa-search"></i>
{!! Form::text('search', request()->get('search'), [
@php
$search_value = Experiment::is('new-catalog') ? request()->get('q') : request()->get('search')
@endphp
{!! Form::text('search', $search_value, [
'class' => 'form-control',
'placeholder' => utrans('master.search_placeholder'),
'id' => 'search',
Expand Down

0 comments on commit 252f959

Please sign in to comment.