X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2d342589a7889a3b096e7192453d53bd28eed7d..9fc17f14ed2cdf669ae931051513097c0378413a:/src/oai/handlers.py?ds=inline 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