Added handle for .is-active for pager linke in Pager block with ajax
This commit is contained in:
parent
17274d141e
commit
3e3b68c72d
3 changed files with 34 additions and 4 deletions
|
|
@ -212,7 +212,7 @@ class SearchResultsPagerBlock extends BlockBase implements ContainerFactoryPlugi
|
|||
* A renderable array representing the display links portion of pager.
|
||||
*/
|
||||
protected function buildDisplayLinks(array $query_parameters) {
|
||||
$active_display = $query_parameters['display'] ?? 'list';
|
||||
$active_display = $query_parameters['display'] ?? 'grid';
|
||||
$display_options = [
|
||||
'list' => [
|
||||
'icon' => 'fa-list',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue