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
Describe the bug
indeterminate paging - previous page button fails to message source function when initially loading last paging
To Reproduce
Steps to reproduce the behavior:
In the example-paging-indeterminate-landmark.html in getDataPage change 'initial' req.type case to fall through to the 'last' req.type case.
switch (request.type) {
case 'first': beginIndex = 0; break;
case 'initial': // <--- *NOTE*: Move 'initial' req.type to appear here and fall through to the last req.type case.
case 'last': beginIndex = getData().length - request.pagesize; break;
case 'next': beginIndex = beginIndex + request.pagesize; break;
case 'prev': beginIndex = beginIndex - request.pagesize; break;
case 'sorted': console.log('sorted stub called - implement me'); break;
case 'filtered': console.log('filtered stub called - implement me'); break;
}
clepore
changed the title
indeterminate paging - previous page button fails to message source function when initially loading last paging
Indeterminate paging - Previous page button fails to message source fn when initially loading last page
Nov 6, 2018
clepore
changed the title
Indeterminate paging - Previous page button fails to message source fn when initially loading last page
Indeterminate paging - Previous page button fails to message source fn when initially loading last page [v4.12.x]
Nov 6, 2018
Describe the bug
indeterminate paging - previous page button fails to message source function when initially loading last paging
To Reproduce
Steps to reproduce the behavior:
example-paging-indeterminate-landmark.html
in getDataPage change 'initial' req.type case to fall through to the 'last' req.type case.Expected behavior
Previous button should message the source(reqType === 'previous') callback function.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: