Fix search bar for adult website

Job ID: 33665472

Budget: $30 – $250 USD

I have an adult website, guerillapimp.com, with a search bar at the top right of the page, but it does not work or return any results with any search term. Only goes to a page saying no items found. I believe the path to the file is /var/www/html/xaggregator/resources/views/frontend/layouts/main.blade.php. And the code is below:

<div class="search-top">
<form action="{{URL::to('/videos')}}" method="get">
<input type="text" name="search" class="form-control" placeholder="Search videos"
value="{{isset($data_search['search'])?$data_search['search']:''}}">
<button class="btn btn-warning"><i class="fa fa-search"></i></button>
</form>
</div>


Frontend Stack : HTML

Backend Stack : PHP Laravel, Sphinx
Related categories: PHP Website Design MySQL HTML Laravel