Closed gerard-kanters closed 8 years ago
why would the type need to be text_general? That's one of the most static things in the ElggEntity
additional fields in any fieldtype can be assigned in the hooks
This PR was not about defining additional fields, but changing the schema.xml. As far as I can see the hooks are not meant for that.
yeah but the PR changed one field - type - to text_general from string. What is a use case for searching the entity type case insensitive? There's only 3 options it can be anyway
I do not know now anymore. We had a customer having specific search requirements like case insensitive searching and this worked. I totally forgot to document why and how :-(
Using field type text_general instead of string makes it cases insensitive which is more user friendly