MINOR Enum DBField class should default to ExactMatchFilter to avoid wrong results with overlapping Enum values in LIKE queries (see #5434) (from r103322)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112132 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-13 03:40:36 +00:00
parent 49496e5c4b
commit 1379f133ea

View File

@ -8,6 +8,8 @@ class Enum extends DBField {
protected $enum, $default;
public static $default_search_filter_class = 'ExactMatchFilter';
/**
* Create a new Enum field.
* You should create an enum field like this: