Bug #19337

[UX] repo discovery footer for page listing malformed

Added by Thomas McKay 7 days ago. Updated 1 day ago.

Status:New
Priority:Normal
Assigned To:Thomas McKay
Category:Repositories
Target version:Team Tom - Iteration 13
Difficulty: Pull request:
Bugzilla link:
Story points-
Velocity based estimate-
ReleaseBacklogRelease relationshipAuto

Description

The page information at the bottom of discovered repos is missing values (shows NaN, missing page numbers, etc.)

To reproduce go to repo discovery, docker type, "registry.access.redhat.com", then note page info at bottom of ui page.

History

#1 Updated by Walden Raines 7 days ago

  • Assigned To changed from Walden Raines to Thomas McKay

I wonder if this is related to recent docker tags changes. The NaN, missing page numbers, etc. is caused by total and or subtotal not being set.

It looks like these should be set in an atypical way here:

https://github.com/katello/katello/blob/master/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery.controller.js#L49-L53

Reassigning to Tom since he touched this last and has more familiarity with this code.

#2 Updated by John Mitsch 1 day ago

  • Release set to Backlog

Also available in: Atom PDF