From: Jan Szejko <jan.szejko@gmail.com>
Date: Tue, 26 Apr 2016 10:47:36 +0000 (+0200)
Subject: fix katalog.pdf (typo!?)
X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/3c1ae530b8e124a1451574e2bf8e2b2bf673c3b8

fix katalog.pdf (typo!?)
---

diff --git a/src/reporting/views.py b/src/reporting/views.py
index bc0dee6eb..963440cd8 100644
--- a/src/reporting/views.py
+++ b/src/reporting/views.py
@@ -43,7 +43,7 @@ def catalogue_pdf(path):
     render_to_pdf(path, 'reporting/catalogue.texml', {
         'books_by_author': books_by_author,
         'orphans': orphans,
-        'book_by_parent': books_by_parent,
+        'books_by_parent': books_by_parent,
     }, {
         "wl-logo.png": os.path.join(settings.STATIC_ROOT, "img/logo-big.png"),
     })
@@ -56,5 +56,5 @@ def catalogue_csv(path):
     render_to_csv(path, 'reporting/catalogue.csv', {
         'books_by_author': books_by_author,
         'orphans': orphans,
-        'book_by_parent': books_by_parent,
+        'books_by_parent': books_by_parent,
     })