#3533 Missing stats for empty repo
Closed: Fixed Opened by mizdebsk.

When you browse to https://stg.pagure.io/mizdebsk-test/stats it displays the following text:

Since Invalid Date there has been r commits found in this repo, from f contributors

Pagure version: 4.90.0


Metadata Update from @pingou:
- Issue tagged with: JS, bug, easyfix

Metadata Update from @ryanlerch:
- Issue assigned to ryanlerch

The commits tab errors out in JS, and infinitly shows the spinner gif too (on empty repos)

FWIW, this is an issue in Pagure 4.0.4 as well:

https://pagure.io/paaaaants/stats#authors

Commit db853bf5 fixes this issue

Metadata
Related Pull Requests