Skip to content

Commit

Permalink
Merge pull request #2 from bnussbau/patch-1
Browse files Browse the repository at this point in the history
show more than 25 options, only show active options
  • Loading branch information
leduc92 authored Aug 14, 2021
2 parents 9911853 + 2bbf22b commit 835e960
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 835e960

Please sign in to comment.