oliverdavies.uk-drupal-old/web/modules/custom
Oliver Davies b90ca42e87 Refactor to use an entity query
Refactor from using `loadByProperties` to using an entity query.

`loadByProperties` doesn't allow for passing multiple values for a
single property such as multiple tags to compare against, and also means
that removing the current node can be done in the query rather than
filtering it out of the Collection.

This might also be a more performant solution if we can do the grouping
and sorting of the results in the query rather than needing to perform
additional steps on the result.

References #3
2021-01-10 22:38:02 +00:00
..
blog Refactor to use an entity query 2021-01-10 22:38:02 +00:00
recommendations Enable lazy loading for recommendation images 2020-12-03 02:28:04 +00:00
talks Reorder test class and method 2020-12-17 23:42:20 +00:00