Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pager is displayed when there are no search results #3580

Open
mmzeeman opened this issue Oct 24, 2023 · 0 comments
Open

Pager is displayed when there are no search results #3580

mmzeeman opened this issue Oct 24, 2023 · 0 comments

Comments

@mmzeeman
Copy link
Member

Zotonic version

Zotonic 1.0.0-rc.15

Steps to reproduce

Make a query, and add a pager with hide_single_page property set. When there are more than 1 search results, but within the current pagelen notice the pager is hidden. But when there are 0 search results, a pager is displayed.

Current behavior

A pager is displayed.

Expected behavior

When there are no results, displaying a pager is strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant