diff --git a/themes/finna2/templates/Helpers/pagination-simple-search.phtml b/themes/finna2/templates/Helpers/pagination-simple-search.phtml new file mode 100644 index 00000000000..031d47358be --- /dev/null +++ b/themes/finna2/templates/Helpers/pagination-simple-search.phtml @@ -0,0 +1,32 @@ + +pageCount): ?> + params['results']; + $ulAttrs = $this->htmlAttributes(['class' => 'pagination-simple']); + if ($results->getOptions()->loadResultsWithJsEnabled()) { + $ulAttrs->add('class', 'js-pagination-simple'); + } + ?> +