Pass builder function for custom pagination link generation.

This makes pagination for GenericTables work properly again.
This commit is contained in:
2021-02-17 20:06:33 +01:00
parent cba42a9129
commit 681af07985
2 changed files with 16 additions and 11 deletions

View File

@@ -118,6 +118,7 @@ class GenericTable
'base_url' => $this->base_url,
'index_class' => $options['index_class'] ?? '',
'items_per_page' => $this->items_per_page,
'linkBuilder' => [$this, 'getLink'],
'recordCount' => $this->recordCount,
'sort_direction' => $this->sort_direction,
'sort_order' => $this->sort_order,