Browse Source

first iteration of search functionality - likely to fail hard

master
jk 3 years ago
parent
commit
77d87a66f8
  1. 4
      app/Models/Summarie.php

4
app/Models/Summarie.php

@ -4,10 +4,12 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Kyslik\ColumnSortable\Sortable;
class Summarie extends Model
{
use HasFactory;
use HasFactory, Sortable;
public $timestamps = false;
protected $primaryKey = 'beer_id';
public $sortable = ['name', 'keywords', 'type'];
}
Loading…
Cancel
Save