mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
new observers
This commit is contained in:
@@ -44,6 +44,11 @@ class LibraryItemTable extends DataTableComponent
|
||||
public function filters(): array
|
||||
{
|
||||
return [
|
||||
TextFilter::make(__('By id'), 'id')
|
||||
->hiddenFromMenus()
|
||||
->filter(function (Builder $builder, string $value) {
|
||||
$builder->where('library_items.id', '=', $value);
|
||||
}),
|
||||
TextFilter::make(__('By lecturer'), 'lecturer_id')
|
||||
->hiddenFromMenus()
|
||||
->filter(function (Builder $builder, string $value) {
|
||||
|
||||
Reference in New Issue
Block a user