Open zenoussi opened 9 months ago
Sure one could do that, but you are free to do that in the template as you'd like. Feel free to make a PR if you come up with a general solution.
try this
Templates/Posting/List.html :
<f:if condition="{paginator.numberOfPages} > {settings.itemsOnPage}">
<div class="job-offers-pagination">
<f:render partial="Pagination"
arguments="{pagination: pagination, paginator: paginator, action: 'list', constraint: constraint}"></f:render>
</div>
</f:if>
With a generally low number of vacancies, a page browser makes no sense. If there are fewer or the same number of job vacancies with regard to the set maximum number per page settings.itemsOnPage, it makes no sense to display the page browser because it has no function. A small number of job offers can be quickly achieved if the output of job offers is restricted to one category.
In my opinion, the display of the filter should be an option of the editor, which depends on the size of the respective project or also on the personalised number of job offers on a respective page.