From 9fc17f14ed2cdf669ae931051513097c0378413a Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 4 Feb 2016 11:07:40 +0100 Subject: [PATCH] old smelly typo + hide OAI-PMH (not working) --- src/oai/handlers.py | 2 +- src/wolnelektury/templates/main_page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oai/handlers.py b/src/oai/handlers.py index 0c18eb62c..9ad9e67b7 100644 --- a/src/oai/handlers.py +++ b/src/oai/handlers.py @@ -73,7 +73,7 @@ class Catalogue(common.ResumptionOAIPMH): try: earliest_delete = \ - Deleted.objects.exclude(slug__exact=u'').ordery_by('deleted_at')[0].deleted_at + Deleted.objects.exclude(slug__exact=u'').order_by('deleted_at')[0].deleted_at except IndexError: earliest_delete = year_zero diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index f2e6863b7..ad3495825 100755 --- a/src/wolnelektury/templates/main_page.html +++ b/src/wolnelektury/templates/main_page.html @@ -112,7 +112,7 @@
  • {% trans "Missing a book?" %}
  • {% trans "Publishing plan" %}
  • API
  • -
  • OAI-PMH
  • + {#
  • OAI-PMH
  • #}
  • Leśmianator
  • Materiały do nauki j. polskiego
  • -- 2.20.1