Extends NearbyStationsRequest to accept `postcode` (full or outcode) as an alternative to lat/lng. PostcodeService resolves it via postcodes.io and falls through to coordinates. Also adds SearchResource to the Filament admin panel for viewing logged search activity with fuel type filter and price/distance stats columns. Includes SQLite GREATEST/LEAST function polyfills in AppServiceProvider for test compatibility. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
339 B
PHP
17 lines
339 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Searches\Pages;
|
|
|
|
use App\Filament\Resources\Searches\SearchResource;
|
|
use Filament\Resources\Pages\ListRecords;
|
|
|
|
class ListSearches extends ListRecords
|
|
{
|
|
protected static string $resource = SearchResource::class;
|
|
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return [];
|
|
}
|
|
}
|