Graylog2 / Graylog2/graylog2-server

String sort used on Content Pack version

Open
#6,539 0 comments 0 reactions 0 assignees View on GitHub
bug content-packs triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

The Versions column on the Content Pack details page uses string sorting instead of number sorting for the Revision column. Note that 1, 10, and 11 show up together.

![image](https://user-images.githubusercontent.com/3423655/66237416-a222b580-e6ba-11e9-8a98-2c7ac2a174a6.png)

## Expected Behavior
Number sorting should be used so that versions sort with the latest versions at the bottom within their respective numeric locations.

## Current Behavior

## Steps to Reproduce (for bugs)

Create more than 10 versions for a content pack

## Your Environment

* Graylog Version: 3.1.2
* Browser version: Chrome 77.0.3865.90 (Official Build) (64-bit)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.