Please sign in to comment.
metrics: 'releases' always must be sorted in all loops.
Depending on the tag that you are using, the data may be inconsistent with the labels. So, all releases lists needs to be sorted in all loops. Example: Data stored in my database: - Fedora 23: 3 bugs - Fedora 24: 2 bugs - Fedora 22: 5 bugs Sorted label array: - Fedora 22 - Fedora 23 - Fedora 24 Chart result (wrong results): - Fedora 22: 3 bugs - Fedora 23: 2 bugs - Fedora 24: 5 bugs After this patch: - Fedora 22: 5 bugs - Fedora 23: 3 bugs - Fedora 24: 2 bugs Signed-off-by: Julio Faracco <email@example.com>
- Loading branch information...