laravel-livewire-tables icon indicating copy to clipboard operation
laravel-livewire-tables copied to clipboard

Searchable not working

Open lovecoding-git opened this issue 5 years ago • 0 comments

Laravel Framework 7.7.1, Laravel-livewire-tables: 1.6


class InsiderFilingTable extends TableComponent
{
    public $table_class = 'table-hover';
    public $thead_class = 'thead-light';
    public $checkbox = false;
    public $per_page = 20;
    public $searchable = true;
    public $sort_attribute = 'col1';

   public function query()
    {
        return InsiderFiling::query();
    }

    public function columns()
    {
        return [
            Column::make('PS', 'col1')->searchable()->sortable(),
            Column::make('Ticker', 'col2')->searchable()->sortable(),
            Column::make('Insider', 'col3')->searchable()->sortable(),
            Column::make('Comp', 'col4')->searchable()->sortable(),
     
        ];
    }
}

No error, searchable is not working. Here is website url.

http://insiderfollower.tk/insider-trading-filing

Thank you

lovecoding-git avatar May 11 '20 21:05 lovecoding-git