Fossil SCM

Fix the /timeline page such that when the rl= query parameter is used, subsequent hyperlinks are correct.

drh 2024-11-19 14:28 trunk
Commit 761c24e7b08137a7672a19ab509f38cc2a3b0271b8cae9cb7a4ef7997b1a3b34
1 file changed +1
--- src/timeline.c
+++ src/timeline.c
@@ -1990,10 +1990,11 @@
19901990
zTagName = z;
19911991
zMatchStyle = "brlist";
19921992
}
19931993
if( (z = P("rl"))!=0 ){
19941994
zBrName = z;
1995
+ related = 1;
19951996
zMatchStyle = "brlist";
19961997
}
19971998
}
19981999
19992000
/* Convert r=TAG to t=TAG&rel in order to populate the UI style widgets. */
20002001
--- src/timeline.c
+++ src/timeline.c
@@ -1990,10 +1990,11 @@
1990 zTagName = z;
1991 zMatchStyle = "brlist";
1992 }
1993 if( (z = P("rl"))!=0 ){
1994 zBrName = z;
 
1995 zMatchStyle = "brlist";
1996 }
1997 }
1998
1999 /* Convert r=TAG to t=TAG&rel in order to populate the UI style widgets. */
2000
--- src/timeline.c
+++ src/timeline.c
@@ -1990,10 +1990,11 @@
1990 zTagName = z;
1991 zMatchStyle = "brlist";
1992 }
1993 if( (z = P("rl"))!=0 ){
1994 zBrName = z;
1995 related = 1;
1996 zMatchStyle = "brlist";
1997 }
1998 }
1999
2000 /* Convert r=TAG to t=TAG&rel in order to populate the UI style widgets. */
2001

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button