Minor diff page improvements - list should be sorted 'newest first' and no need to include the current version to compare against (#716)

This commit is contained in:
dgtlmoon
2022-06-23 10:16:05 +02:00
committed by GitHub
parent 83555a9991
commit dbd9b470d7
2 changed files with 2 additions and 2 deletions

View File

@@ -830,7 +830,7 @@ def changedetection_app(config=None, datastore_o=None):
newest=newest_version_file_contents,
previous=previous_version_file_contents,
extra_stylesheets=extra_stylesheets,
versions=dates[1:],
versions=dates[:-1], # All except current/last
uuid=uuid,
newest_version_timestamp=dates[-1],
current_previous_version=str(previous_version),