Numeric ordering of bug ids
Closes bug 1204926 Change-Id: I1cd3f672bcf8a68483182c28660203a3ff86e2c0
This commit is contained in:
@@ -458,7 +458,7 @@ def contribution_details(records, limit=DEFAULT_RECORDS_LIMIT):
|
|||||||
key=lambda x: x['id'])
|
key=lambda x: x['id'])
|
||||||
bugs = sorted([{'id': key, 'records': value}
|
bugs = sorted([{'id': key, 'records': value}
|
||||||
for key, value in bugs_map.iteritems()],
|
for key, value in bugs_map.iteritems()],
|
||||||
key=lambda x: x['id'])
|
key=lambda x: int(x['id']))
|
||||||
commits.sort(key=lambda x: x['date'], reverse=True)
|
commits.sort(key=lambda x: x['date'], reverse=True)
|
||||||
|
|
||||||
result = {
|
result = {
|
||||||
|
|||||||
Reference in New Issue
Block a user