Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/__init__.py b/plugins/__init__.py
index 2980bc4..a48a06d 100644
--- a/plugins/__init__.py
+++ b/plugins/__init__.py
@@ -144,7 +144,7 @@ def print_parents(fp,link,indent=' '):
# if there are no parents print nothing
if len(parents) == 0:
return
- parents.sort(lambda a, b: cmp(a.title, b.title))
+ parents.sort(lambda a, b: cmp(a.title, b.title) or cmp(a.url, b.url))
fp.write(
indent+'<div class="parents">\n'+
indent+' referenced from:\n'+