added main group filter to post list

master
A1Gard 2 days ago
parent 59b3405350
commit 893ff16735

@ -15,6 +15,16 @@
</div> </div>
</div> </div>
{{-- Other filters --}} {{-- Other filters --}}
{{__("Main group")}}
<searchable-multi-select
:items='{{\App\Models\Group::all(['id','name'])}}'
title-field="name"
value-field="id"
xlang="{{config('app.locale')}}"
xname="filter[group_id]"
:xvalue='{{request()->input('filter.group_id','[]')}}'
:close-on-Select="true"></searchable-multi-select>
@endsection @endsection
@section('bulk') @section('bulk')
<option value="publish"> {{__("Publish")}} </option> <option value="publish"> {{__("Publish")}} </option>

Loading…
Cancel
Save