diff --git a/themes/fid_bbi/scss/compiled.scss b/themes/fid_bbi/scss/compiled.scss index 1b87fd0ecaf74bf79dc09fd7e76e31ab3cca28fe..fb1c705927fb9b332cbee7404eb869a194fef15f 100644 --- a/themes/fid_bbi/scss/compiled.scss +++ b/themes/fid_bbi/scss/compiled.scss @@ -306,6 +306,19 @@ footer { padding: 5px; } +// RESULT LIST +//// top pagination +.pagination-short { + .hidden-xs { + display: none; + } + .pagination { + margin: initial; + margin-left: $grid-gutter-width; + float: left; + } +} + //// Search tools .searchtools { display: block; diff --git a/themes/fid_bbi/templates/search/results.phtml b/themes/fid_bbi/templates/search/results.phtml index 42e7d9a0a1c7cd473053d5be910a776f36091700..dc01313e1815ba4056a7d8dd5763ec9e75fab967 100644 --- a/themes/fid_bbi/templates/search/results.phtml +++ b/themes/fid_bbi/templates/search/results.phtml @@ -110,6 +110,13 @@ $recordTotal = $this->results->getResultTotal(); <span class="limit"> <?=$this->render('search/controls/limit.phtml')?> </span> + <?php /* fid_bbi: top pagination - CK */ ?> + <span class="pagination-short"> + <? $paginator = $this->results->getPaginator(); + $paginator->setPageRange(5); ?> + <?=$this->paginationControl($paginator, 'Sliding', 'search/pagination.phtml', ['results' => $this->results, 'options' => isset($this->paginationOptions) ? $this->paginationOptions : []])?> + </span> + <?php /* fid_bbi: top pagination - END */ ?> <span class="sort right"> <?=$this->render('search/controls/sort.phtml')?> </span>