Update SearchResultsPagerBlock.php

This commit is contained in:
Kyle Huynh 2023-03-13 12:05:39 -04:00 committed by GitHub
parent c38487eb3b
commit ddbd38e818
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -287,8 +287,8 @@ class SearchResultsPagerBlock extends BlockBase implements ContainerFactoryPlugi
$label = $sort->options['expose']['label'];
$asc = "{$id}_asc";
$desc = "{$id}_desc";
$options[$asc] = "{$label} ";
$options[$desc] = "{$label} ";
$options[$asc] = "{$label} ";
$options[$desc] = "{$label} ";
$options_attributes[$asc] = [
'data-sort_by' => $id,
'data-sort_order' => 'ASC',