Skip to content

Commit 68b697c

Browse files
committed
Merged [5595] from rjsparks@nostrum.com:
Tweaked the grouping code to not break documents of the same type up - Legacy-Id: 5630 Note: SVN reference [5595] has been migrated to Git commit 581280b
2 parents 7a98fff + 581280b commit 68b697c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/idrfc/views_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ def ad_dashboard_sort_key(doc):
657657
changetime= doc.latest_event(type='changed_document')
658658
if changetime:
659659
ageseconds = (datetime.datetime.now()-doc.latest_event(type='changed_document').time).total_seconds()
660-
return "1%d%s%010d" % (state[0].order,seed,ageseconds)
660+
return "1%d%s%s%010d" % (state[0].order,seed,doc.type.slug,ageseconds)
661661

662662
return "3%s" % seed
663663

0 commit comments

Comments
 (0)