@extends('layouts.public') @section('title', $sector->name) @section('meta_description', $sector->short_description ?: $sector->tagline) @section('content')
{{-- The same filter panel as the property page, built from the same service. What changes between a house and a tractor is which attributes the category declares — not the code that renders them. --}}

{{ trans_choice('One listing|:count listings', $listings->total(), ['count' => number_format($listings->total())]) }} @if ($category) {{ __('in :category', ['category' => $category->name]) }} @endif

{{-- A plain GET form, like the property page: sorting is part of the URL, so a sorted view can be shared and reloaded. --}}
@include('public.partials.query-inputs', [ 'params' => request()->except(['sort', 'page']), 'prefix' => '', ])
@if ($activeFilters !== [])
    @foreach ($activeFilters as $filter)
  • {{ $filter['label'] }}: {{ $filter['value'] }}
  • @endforeach
@endif
@include('public.partials.listing-results', [ 'listings' => $listings, 'criteria' => $criteria, 'favouritedIds' => $favouritedIds, ])
@endsection