mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00
fix links index
This commit is contained in:
parent
97249a1861
commit
f1075f2c7d
2 changed files with 2 additions and 2 deletions
|
@ -245,7 +245,7 @@
|
||||||
ArchiveBox
|
ArchiveBox
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-10">
|
<div class="col-lg-8">
|
||||||
<img src="$link_dir/$favicon_url" alt="Favicon">
|
<img src="$link_dir/$favicon_url" alt="Favicon">
|
||||||
|
|
||||||
$title
|
$title
|
||||||
|
|
|
@ -450,7 +450,7 @@ def merge_links(a: Link, b: Link) -> Link:
|
||||||
|
|
||||||
sources = list(set(a.sources + b.sources))
|
sources = list(set(a.sources + b.sources))
|
||||||
|
|
||||||
all_methods = (set(a.history.keys()) | set(a.history.keys()))
|
all_methods = set(list(a.history.keys()) + list(a.history.keys()))
|
||||||
history = {
|
history = {
|
||||||
method: (a.history.get(method) or []) + (b.history.get(method) or [])
|
method: (a.history.get(method) or []) + (b.history.get(method) or [])
|
||||||
for method in all_methods
|
for method in all_methods
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue