Commits

Mikhail Korobov  committed e0ff729

Fix for bookmarks: title is the first argument

  • Participants
  • Parent commits f3b5805

Comments (0)

Files changed (1)

File admin_tools/menu/items.py

         from admin_tools.menu.models import Bookmark
 
         for b in Bookmark.objects.filter(user=context['request'].user):
-            self.children.append(MenuItem(b.url, mark_safe(b.title)))
+            self.children.append(MenuItem(mark_safe(b.title), b.url))
 
         if not len(self.children):
             self.enabled = False