17 lines
440 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\Forms\Tests\GridField\GridFieldTest;
use SilverStripe\Dev\TestOnly;
2024-08-23 19:09:43 +12:00
use SilverStripe\Core\Extension;
use SilverStripe\ORM\Filters\FulltextFilter;
use SilverStripe\Forms\Tests\GridField\GridFieldTest\StadiumExtension;
2024-08-23 19:09:43 +12:00
class StadiumExtension extends Extension implements TestOnly
{
protected function updateSearchableFields(&$fields)
{
$fields['Type']['filter'] = new FulltextFilter();
}
}