You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most methods in ListDecorator (and subsequently in PaginatedList and any other subclass of ListDecorator) return the inner list instead of returning itself - e.g. ListDecorator::filter() returns the inner list.
Instead, these should do one of the following:
Make a clone of itself, set the inner list of the clone to be the result of the filter/sort/etc, and return the clone
Set its own inner list to be the result of the filter/sort/etc and return itself
The text was updated successfully, but these errors were encountered:
Most methods in
ListDecorator
(and subsequently inPaginatedList
and any other subclass ofListDecorator
) return the inner list instead of returning itself - e.g.ListDecorator::filter()
returns the inner list.Instead, these should do one of the following:
The text was updated successfully, but these errors were encountered: