Support items per page and offset overrides with ajax

Created on 11 January 2024, 11 months ago
Updated 11 February 2024, 9 months ago

Problem/Motivation

Items per page and offset can be overriden in an adaptable block. This does currently not work with ajax calls.
1. ViewAjaxController doesn't allow to override items per pageand offset (see https://dgo.to/3161042 for issue)
2. We don't add the pager information to the exposed ouput, so page links can't add this information to the ajax calls.

Steps to reproduce

/

Proposed resolution

1. Add patch from https://dgo.to/3161042 #10 to enable items_per_page and offset in core (D10.1+)
2. Add pager info to exposed input in AdaptableBlock handler

User interface changes

- None

API changes

- Exposed input contains the pager information

Data model changes

- None

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇨🇭Switzerland pvbergen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024