Pass builder function for custom pagination link generation.
This makes pagination for GenericTables work properly again.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user