mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Only output hidden user filters when not set to 'me'
This commit is contained in:
@ -61,10 +61,10 @@
|
||||
@include('search.parts.date-filter', ['name' => 'created_after', 'filters' => $options->filters])
|
||||
@include('search.parts.date-filter', ['name' => 'created_before', 'filters' => $options->filters])
|
||||
|
||||
@if(isset($options->filters['created_by']))
|
||||
@if(isset($options->filters['created_by']) && $options->filters['created_by'] !== "me")
|
||||
<input type="hidden" name="filters[created_by]" value="{{ $options->filters['created_by'] }}">
|
||||
@endif
|
||||
@if(isset($options->filters['updated_by']))
|
||||
@if(isset($options->filters['updated_by']) && $options->filters['updated_by'] !== "me")
|
||||
<input type="hidden" name="filters[updated_by]" value="{{ $options->filters['updated_by'] }}">
|
||||
@endif
|
||||
|
||||
|
Reference in New Issue
Block a user