diff options
Diffstat (limited to 'tbc')
-rwxr-xr-x | tbc/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/views.py b/tbc/views.py index 0705879..5167978 100755 --- a/tbc/views.py +++ b/tbc/views.py @@ -451,7 +451,7 @@ def BookDetails(request, book_id=None): else: context['user'] = request.user book = Book.objects.get(id=book_id) - chapters = Chapters.objects.filter(book=book).order_by('id') + chapters = Chapters.objects.filter(book=book).order_by('name','pk') images = ScreenShots.objects.filter(book=book) context['chapters'] = chapters context['images'] = images |