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

Visual glitch in pagination #13351

Closed
peteeckel opened this issue Aug 2, 2023 · 3 comments
Closed

Visual glitch in pagination #13351

peteeckel opened this issue Aug 2, 2023 · 3 comments
Assignees
Labels
beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@peteeckel
Copy link
Contributor

peteeckel commented Aug 2, 2023

NetBox version

v3.6-beta1

Python version

3.8

Steps to Reproduce

Open any list view

Expected Behavior

The pagination indicator at the bottom shows something like "Showing 1-25 of 123"

Observed Behavior

The pagination indicator at the bottom shows "Showing - of"

Screenshot 2023-08-02 at 19 52 20

@peteeckel peteeckel added the type: bug A confirmed report of unexpected behavior in the application label Aug 2, 2023
@jeremystretch
Copy link
Member

This appears to be a limitation around accessing object attributes withing a {% blocktranslate %} template tag. We'll need to pass the relevant attributes as named context variables inside the tag.

There are likely other places where this adjustment is needed.

@jeremystretch jeremystretch self-assigned this Aug 2, 2023
@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Aug 2, 2023
@peteeckel
Copy link
Contributor Author

That's probably the same issue, correct?

Screenshot 2023-08-02 at 20 29 59

@jeremystretch
Copy link
Member

That's probably the same issue, correct?

Correct. Pushing a fix in a few minutes.

@jeremystretch jeremystretch added the beta Concerns a bug/feature in a beta release label Aug 2, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants