From be17b350423298b3ae0782e7deb5affab7f35a5d Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 14 Oct 2011 12:21:50 +0200 Subject: [PATCH] book sorting fix --- apps/catalogue/models/book.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/catalogue/models/book.py b/apps/catalogue/models/book.py index 1a141fcb..5125532c 100755 --- a/apps/catalogue/models/book.py +++ b/apps/catalogue/models/book.py @@ -44,7 +44,7 @@ class Book(models.Model): class Meta: app_label = 'catalogue' - ordering = ['title'] + ordering = ['title', 'slug'] verbose_name = _('book') verbose_name_plural = _('books') -- 2.20.1