@php $space_map_search_fields = setting_item_array('space_map_search_fields'); $usedAttrs = []; foreach ($space_map_search_fields as $field){ if($field['field'] == 'attr' and !empty($field['attr'])) { $usedAttrs[] = $field['attr']; } } $selected = (array) request()->query('terms'); @endphp
@foreach ($attributes as $item) @if(empty($item['hide_in_filter_search'])) @php if(in_array($item->id,$usedAttrs)) continue; $translate = $item->translateOrOrigin(app()->getLocale()); @endphp
{{$translate->name}}
    @foreach($item->terms as $term) @php $translate = $term->translateOrOrigin(app()->getLocale()); @endphp
  • @endforeach
@endif @endforeach
{{__("Apply Filters")}}