Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I've been importing a complicated shipping arrangements into a new site and noticed that when creating more than 50 shipping methods only the first 50 are shown on the /admin/commerce/config/shipping-methods
page.
It's fine to be paginated but it does not appear to be rendering the pagination links.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2960445-paginate-shipping-methods-5.patch | 638 bytes | mattjones86 |
#2 | 2960445-paginate-shipping-methods-1.patch | 541 bytes | mattjones86 |
|
Comments
Comment #2
mattjones86Easy patch in the end
Comment #3
mattjones86Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedThe D8 coding standard forbids long array usage.
Let's copy the render() method from PromotionListBuilder.
Generally, a pager kinda conflicts with the idea of draggable rows, but let's sync with Commerce first, we can solve it later in both places.
Comment #5
mattjones86Ah I was looking for another example of how this was handled in commerce.
New patch attached.
Comment #8
bojanz CreditAttribution: bojanz at Centarro commentedFixed the injection of $formBuilder and committed. Thanks!