Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 4 column 16
---
title: Fix grid URL parameters of list views in the administration
issue: NEXT-10907
author: Niklas Limberg
author_github: @NiklasLimberg
---
- Added event
page-change
inpaginate
methodcomponent/entity/sw-entity-listing/index.js
- Deprecated event
paginate
inpaginate
methodcomponent/entity/sw-entity-listing/index.js
- Added property
disableDataFetching
to disable data fetching insort
andpaginate
methods incomponent/entity/sw-entity-listing/index.js
. In order to prevent duplicate data fetching by thesw-entity-listing
and the listing page component - Added
isLoading
,sortBy
,sortDirection
andtotal
todata
inmodule/sw-manufacturer/page/sw-manufacturer-list/index.js
to provide usefull defaults - Changed
manufacturerCriteria
property to usepage
,limit
,sortBy
,sortDirection
andnaturalSorting
provided by thelisting
mixin inmodule/sw-manufacturer/page/sw-manufacturer-list/index.js
- Changed the
sw-entity-listing
to use theisLoading
state to set property isisLoading
inmodule/sw-manufacturer/page/sw-manufacturer-list/sw-manufacturer-list.html.twig
- Added
criteriaLimit
,sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
inmodule/sw-manufacturer/page/sw-manufacturer-list/sw-manufacturer-list.html.twig
- Added listener for
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-manufacturer/page/sw-manufacturer-list/sw-manufacturer-list.html.twig
- Added
sortBy
andsortDirection
properties to thesw-entity-listing
inmodule/sw-newsletter-recipient/page/sw-newsletter-recipient-list/sw-newsletter-recipient-list.html.twig
- Added listener for
page-change
,column-sort
anddisableDataFetching
emited by thesw-entity-listing
inmodule/sw-newsletter-recipient/page/sw-newsletter-recipient-list/sw-newsletter-recipient-list.html.twig
- Added
criteriaLimit
,sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
inmodule/sw-product-stream/page/sw-product-stream-list/sw-product-stream-list.html.twig
- Added listener for
page-change
andcolumn-sort
emited by themodule/sw-product-stream/page/sw-product-stream-list/sw-product-stream-list.html.twig
- Changed
getList
to useproductCriteria
andcurrencyCriteria
as property instead of a local variable inmodule/sw-product/page/sw-product-list/index.js
- Changed
onColumnSort
method to also call thelisting
mixin's functiononSortColumn
inmodule/sw-product/page/sw-product-list/index.js
- Changed
module/sw-product/page/sw-product-list/sw-product-list.twig
to call on thepage-change
event, emited by thesw-entity-listing
, the methodonPageChange
- Added
criteriaLimit
,sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
inmodule/sw-product/page/sw-product-list/sw-product-list.twig
- Added
sortBy
,sortDirection
anddisableDataFetching
properties and a listener for thepage-change
andcolumn-sort
event to thesw-entity-listing
inmodule/sw-promotion/page/sw-promotion-list/sw-promotion-list.html.twig
- Changed
module/sw-property/page/sw-property-list/index.js
to callgetList
oncreatedComponent
lifecycle hook - Added
disableDataFetching
properties and a listener for thepage-change
andcolumn-sort
event to thesw-entity-listing
inmodule/sw-property/page/sw-property-list/sw-property-list.html.twig
- Changed
module/sw-review/page/sw-review-list/index.js
to use thelisting
mixin - Removed the
onSearch
method to use theonSearch
function provided by thelisting
minin inmodule/sw-review/page/sw-review-list/index.js
- Removed the
onRefresh
method to use theonRefresh
function provided by thelisting
minin inmodule/sw-review/page/sw-review-list/index.js
- Added
sortBy
andsortDirection
,disableDataFetching
properties to thesw-entity-listing
inmodule/sw-review/page/sw-review-list/sw-review-list.html.twig
- Added listener for
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-review/page/sw-review-list/sw-review-list.html.twig
- Added
sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
inmodule/sw-settings-delivery-times/page/sw-settings-delivery-time-list/sw-settings-delivery-time-list.html.twig
- Added listener for the event for
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-settings-delivery-times/page/sw-settings-delivery-time-list/sw-settings-delivery-time-list.html.twig
- Added
disableDataFetching
property to thesw-entity-listing
inmodule/sw-settings-language/page/sw-settings-language-list/sw-settings-language-list.html.twig
- Removed watcher on
listingCriteria
inmodule/sw-settings-language/page/sw-settings-language-list/sw-settings-language-list.html.twig
, because it only callsthis.getList()
which now happens in the mixin - Added listener for the event for
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-settings-language/page/sw-settings-language-list/sw-settings-language-list.html.twig
- Added
sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
insrc/module/sw-settings-number-range/page/sw-settings-number-range-list/sw-settings-number-range-list.html.twig
- Added listener for the event
page-change
andcolumn-sort
emited by thesw-entity-listing
insrc/module/sw-settings-number-range/page/sw-settings-number-range-list/sw-settings-number-range-list.html.twig
- Added
sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
inmodule/sw-settings-payment/page/sw-settings-payment-list/sw-settings-payment-list.html.twig
- Added listener for the event
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-settings-payment/page/sw-settings-payment-list/sw-settings-payment-list.html.twig
- Added
sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
inmodule/sw-settings-product-feature-sets/page/sw-settings-product-feature-sets-list/sw-settings-product-feature-sets-list.html.twig
- Added listener for the event
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-settings-product-feature-sets/page/sw-settings-product-feature-sets-list/sw-settings-product-feature-sets-list.html.twig
- Added
sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
inmodule/sw-settings-rule/page/sw-settings-rule-list/sw-settings-rule-list.html.twig
- Added listener for the event
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-settings-rule/page/sw-settings-rule-list/sw-settings-rule-list.html.twig
- Added
disableDataFetching
property to thesw-entity-listing
inmodule/sw-settings-salutation/page/sw-settings-salutation-list/sw-settings-salutation-list.html.twig
- Added listener for the event
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-settings-salutation/page/sw-settings-salutation-list/sw-settings-salutation-list.html.twig
- Changed
onSearch
,onSortColumn
andonPageChange
to only alter the URL to then let the mixin do the data reloading inmodule/sw-settings-snippet/page/sw-settings-snippet-list/index.js
- Added listener for
page-change
emited by thesw-entity-listing
inmodule/sw-settings-snippet/page/sw-settings-snippet-list/index.js
- Added
sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
insw-settings-tax/page/sw-settings-tax-list/sw-settings-tax-list.html.twig
- Added listener for the event
page-change
andcolumn-sort
emited by thesw-entity-listing
insw-settings-tax/page/sw-settings-tax-list/sw-settings-tax-list.html.twig
- Added
sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
inmodule/sw-customer/page/sw-customer-list/sw-customer-list.html.twig
- Added listener for the event
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-customer/page/sw-customer-list/sw-customer-list.html.twig
- Changed
module/sw-customer/page/sw-customer-list/index.js
to use values forsortBy
provided the mixin to then fallback on default values and to make it compatible withsortBy=firstName,lastName&sortDirection
- Added
sortBy
,sortDirection
anddisableDataFetching
properties to thesw-entity-listing
inmodule/sw-settings-currency/page/sw-settings-currency-list/sw-settings-currency-list.html.twig
- Added listener for the event
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-settings-currency/page/sw-settings-currency-list/sw-settings-currency-list.html.twig
- Added listener for the event
page-change
andcolumn-sort
emited by thesw-entity-listing
inmodule/sw-settings-customer-group/page/sw-settings-customer-group-list/sw-settings-customer-group-list.html.twig