Skip to content

Commit

Permalink
[#2618] Improve ordering of libs
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Aug 14, 2012
1 parent 0c70024 commit 4e8195a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/html_resources/__init__.py
Expand Up @@ -218,9 +218,9 @@ def sort_resources(resources):
def key(resource):
return (
resource.order,
resource.custom_order,
resource.library.library_nr,
resource.library.name,
resource.custom_order,
resource.dependency_nr,
resource.relpath)
return sorted(resources, key=key)
Expand Down

0 comments on commit 4e8195a

Please sign in to comment.