The product variation listing is not paginated.

When we have a lot of variations - query $product->getVariations() can fail on the variation listing page, so it needs to paginate this listing.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

r_cheh created an issue. See original summary.

r_cheh’s picture

idebr’s picture

Status: Active » Needs review
jsacksick’s picture

Out of curiosty, any reason not to use a view? Rather than the default variation list builder?

r_cheh’s picture

r_cheh’s picture

r_cheh’s picture

Yes, because this listing used as default listing of product variation on admin page

r_cheh’s picture

So, this patch doesn't work correctly because we can't load variation weight and sort by it (weight value isn't a field from the database, just a class property), and table drags don't work correctly