提交 dca4c62f 编写于 作者: J Joshua Lambert

Fix dashboard sorting

上级 85f4e323
import _ from 'underscore';
function sortMetrics(metrics) {
return _.chain(metrics).sortBy('weight').sortBy('title').value();
return _.chain(metrics).sortBy('title').sortBy('weight').value();
}
function normalizeMetrics(metrics) {
......
---
title: Prioritize weight over title when sorting charts
merge_request: 18233
author:
type: fixed
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册