Skip to content

Commit be81150

Browse files
committed
Ignore "extra" when counting page references.
This is not relevant to page counts, it points to a particular anchor (if anything), which means that for backlinks calculations this field should be omitted.
1 parent 509a2ed commit be81150

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deepwell/src/services/link/service.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,7 @@ async fn count_connections(
471471
PageRef {
472472
site: site_slug,
473473
page: page_slug,
474+
extra: _,
474475
}: &PageRef,
475476
connection_type: ConnectionType,
476477
connections: &mut HashMap<(i64, ConnectionType), i32>,

0 commit comments

Comments
 (0)