-
Notifications
You must be signed in to change notification settings - Fork 2
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
Lonely "next" button in list view #5
Comments
The error seems to be caused by the |
The bug seems to occur if there is only one entry in the list. |
The "next" button disappears after restarting the application. |
In SpringCRM 2.0, the error still occurs, but the styles are different (see screenshot): In source code I found the following HTML snippet: <nav class="text-center">
<div class="visible-xs">
<li role="listitem" aria-label="Nächste"><a href="/organization/index?listType=&offset=0&max=10" class="nextLink"><span aria-hidden="true">»</span></a></li>
</div>
<div class="hidden-xs">
<li role="listitem" aria-label="Nächste"><a href="/organization/index?listType=&offset=0&max=10" class="nextLink"><span aria-hidden="true">»</span></a></li>
</div>
</nav> |
The issue occurs only after creating the first item in a list. I investigate in that issue and found out that a negative offset value is stored in the session. |
Fix the issue that a lonely "next" button appears on lists with only one item. It was caused by a improperly computed offset in ViewFilters class.
Fixed in commit 924d0db. |
In some list views, where all available items fit one page, a lonely "next" button from the paginator is displayed (see screenshot).
Related to Bugzilla bug 193.
The text was updated successfully, but these errors were encountered: