From 2bbf22b7af214e8f5e9f16274c9493cb9c1769b6 Mon Sep 17 00:00:00 2001 From: Benjamin Nussbaum Date: Sat, 14 Aug 2021 13:42:45 +0200 Subject: [PATCH] set higher limit, only show active options * show up to 50 Options (Sales Channels, Payment Methods, Shipping Methods) * only show active ShippingMethods, PaymentMethods and SalesChannels --- .../app/administration/src/extension/sw-order-list/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Resources/app/administration/src/extension/sw-order-list/index.js b/src/Resources/app/administration/src/extension/sw-order-list/index.js index 91ce9df..7a45529 100644 --- a/src/Resources/app/administration/src/extension/sw-order-list/index.js +++ b/src/Resources/app/administration/src/extension/sw-order-list/index.js @@ -227,6 +227,8 @@ Component.override('sw-order-list', { async getDefaultOptions() { const criteria = new Criteria(); criteria.addSorting({ field: 'name', order: 'ASC' }); + criteria.addFilter(Criteria.equals('active', true)); + criteria.setLimit(50); Promise.all([ this.getShippingMethods(criteria),