Skip to content

Commit

Permalink
Rename Taxonomy field filter to Terms as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Aug 18, 2020
1 parent aace647 commit aa8892f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Fieldtypes/Terms.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Statamic\Facades\Site;
use Statamic\Facades\Term;
use Statamic\Http\Resources\CP\Taxonomies\Terms as TermsResource;
use Statamic\Query\Scopes\Filters\Fields\Taxonomy as TaxonomyFilter;
use Statamic\Query\Scopes\Filters\Fields\Terms as TermsFilter;
use Statamic\Support\Arr;
use Statamic\Support\Str;
use Statamic\Taxonomies\TermCollection;
Expand Down Expand Up @@ -38,7 +38,7 @@ protected function configFieldItems(): array

public function filter()
{
return new TaxonomyFilter($this);
return new TermsFilter($this);
}

public function augment($value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Statamic\Facades;
use Statamic\Support\Str;

class Taxonomy extends FieldtypeFilter
class Terms extends FieldtypeFilter
{
public function fieldItems()
{
Expand Down

0 comments on commit aa8892f

Please sign in to comment.