Allow to add Module's fields to the search and filter
This commit is contained in:
20
app/Events/Common/SearchStringApplying.php
Normal file
20
app/Events/Common/SearchStringApplying.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Common;
|
||||
|
||||
use App\Abstracts\Event;
|
||||
|
||||
class SearchStringApplying extends Event
|
||||
{
|
||||
public $query;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $query
|
||||
*/
|
||||
public function __construct($query)
|
||||
{
|
||||
$this->query = $query;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user