diff --git a/views_natural_sort.module b/views_natural_sort.module index 48869d0811b1118fe0311da86e1245cbbac0862b..f79b5edec9bff3353cc47a8662360dc1a4cc4fd2 100644 --- a/views_natural_sort.module +++ b/views_natural_sort.module @@ -47,7 +47,7 @@ function views_natural_sort_views_natural_sort_get_entry_types() { $entry_types = []; foreach ($supported_entity_properties as $entity_type => $properties) { foreach ($properties as $property => $schema_info) { - $entry_types = new IndexRecordType($entity_type, $property); + $entry_types[] = new IndexRecordType($entity_type, $property); } } return $entry_types;