Closed herbdool closed 1 week ago
I think we can just remove the reset(). I get just one entity loading regardless of whether there's one or more products. PR: https://github.com/backdrop-contrib/commerce/pull/18
Agreed! I think this is one of those gotchas that slightly changed in Backdrop. D7 did not have an implicit reset in entity_load
because they've sent everything to entity_load_multiple
now.
https://api.drupal.org/api/drupal/includes%21common.inc/function/entity_load/7.x
When viewing a node that has a product reference field that references more than one products: