-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/src/documents/templates/admin/documents/document/viewers/viewer_image.html b/src/documents/templates/admin/documents/document/viewers/viewer_image.html
old mode 100755
new mode 100644
index 9e572d74a..3f860a90c
--- a/src/documents/templates/admin/documents/document/viewers/viewer_image.html
+++ b/src/documents/templates/admin/documents/document/viewers/viewer_image.html
@@ -1,2 +1 @@
-
diff --git a/src/documents/templates/admin/documents/document/viewers/viewer_pdf.html b/src/documents/templates/admin/documents/document/viewers/viewer_pdf.html
old mode 100755
new mode 100644
index 4e223d935..5440a4cac
--- a/src/documents/templates/admin/documents/document/viewers/viewer_pdf.html
+++ b/src/documents/templates/admin/documents/document/viewers/viewer_pdf.html
@@ -3,117 +3,128 @@
-
- Page: /
-
+
+ Page: /
+
-
-
+
+
- {# Load and display PDF document#}
-
+});
+
diff --git a/src/paperless/settings.py b/src/paperless/settings.py
index c303114e3..faecc3569 100644
--- a/src/paperless/settings.py
+++ b/src/paperless/settings.py
@@ -298,4 +298,8 @@ FY_END = os.getenv("PAPERLESS_FINANCIAL_YEAR_END")
# Specify the default date order (for autodetected dates)
DATE_ORDER = os.getenv("PAPERLESS_DATE_ORDER", "DMY")
-PAPERLESS_RECENT_CORRESPONDENT_YEARS = int(os.getenv("PAPERLESS_RECENT_CORRESPONDENT_YEARS", 1))
+# Specify for how many years a correspondent is considered recent. Recent
+# correspondents will be shown in a separate "Recent correspondents" filter as
+# well. Set to 0 to disable this filter.
+PAPERLESS_RECENT_CORRESPONDENT_YEARS = int(os.getenv(
+ "PAPERLESS_RECENT_CORRESPONDENT_YEARS", 0))