Bug #19337

[UX] repo discovery footer for page listing malformed

Added by Thomas McKay 2 months ago. Updated about 1 month ago.

Status:New
Priority:Normal
Assigned To:Thomas McKay
Category:Repositories
Target version:Team Tom - Iteration 16
Difficulty: Pull request:
Bugzilla link:
Story points-
Velocity based estimate-
ReleaseKatello BacklogRelease 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 2 months 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 about 1 month ago

  • Release set to Katello Backlog

#3 Updated by Thomas McKay about 1 month ago

  • Target version changed from Team Tom - Iteration 13 to Team Tom - Iteration 16

Also available in: Atom PDF