mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
support loading link indexes with extra keys
This commit is contained in:
parent
98870ba428
commit
19e1c35f1a
2 changed files with 10 additions and 4 deletions
|
@ -164,7 +164,7 @@ class Link:
|
|||
from util import ts_to_date
|
||||
|
||||
most_recent = min(
|
||||
(result.start_ts
|
||||
(ts_to_date(result.start_ts)
|
||||
for method in self.history.keys()
|
||||
for result in self.history[method]),
|
||||
default=None,
|
||||
|
@ -176,7 +176,7 @@ class Link:
|
|||
from util import ts_to_date
|
||||
|
||||
most_recent = max(
|
||||
(result.start_ts
|
||||
(ts_to_date(result.start_ts)
|
||||
for method in self.history.keys()
|
||||
for result in self.history[method]),
|
||||
default=None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue