Fossil SCM

Do the same filtering of the "rel" query parameter for from=,bt= and from=,ft= that happens with me=,you=.

drh 2024-12-23 15:05 trunk
Commit 7e1ffdd9ee05dddfc1b3b2c5bc108611e97bd112026440c988fe08f840220c00
1 file changed +4
--- src/timeline.c
+++ src/timeline.c
@@ -2225,12 +2225,16 @@
22252225
if( from_rid && to_rid ){
22262226
if( from_to_mode==0 ){
22272227
p = path_shortest(from_rid, to_rid, noMerge, 0, 0);
22282228
}else if( from_to_mode==1 ){
22292229
p = path_shortest(from_rid, to_rid, 0, 1, 0);
2230
+ earlierRid = commonAncs = from_rid;
2231
+ laterRid = to_rid;
22302232
}else{
22312233
p = path_shortest(to_rid, from_rid, 0, 1, 0);
2234
+ earlierRid = commonAncs = to_rid;
2235
+ laterRid = from_rid;
22322236
}
22332237
zFrom = P("from");
22342238
zTo = zTo2 ? zTo2 : P("to");
22352239
}else{
22362240
commonAncs = path_common_ancestor(me_rid, you_rid);
22372241
--- src/timeline.c
+++ src/timeline.c
@@ -2225,12 +2225,16 @@
2225 if( from_rid && to_rid ){
2226 if( from_to_mode==0 ){
2227 p = path_shortest(from_rid, to_rid, noMerge, 0, 0);
2228 }else if( from_to_mode==1 ){
2229 p = path_shortest(from_rid, to_rid, 0, 1, 0);
 
 
2230 }else{
2231 p = path_shortest(to_rid, from_rid, 0, 1, 0);
 
 
2232 }
2233 zFrom = P("from");
2234 zTo = zTo2 ? zTo2 : P("to");
2235 }else{
2236 commonAncs = path_common_ancestor(me_rid, you_rid);
2237
--- src/timeline.c
+++ src/timeline.c
@@ -2225,12 +2225,16 @@
2225 if( from_rid && to_rid ){
2226 if( from_to_mode==0 ){
2227 p = path_shortest(from_rid, to_rid, noMerge, 0, 0);
2228 }else if( from_to_mode==1 ){
2229 p = path_shortest(from_rid, to_rid, 0, 1, 0);
2230 earlierRid = commonAncs = from_rid;
2231 laterRid = to_rid;
2232 }else{
2233 p = path_shortest(to_rid, from_rid, 0, 1, 0);
2234 earlierRid = commonAncs = to_rid;
2235 laterRid = from_rid;
2236 }
2237 zFrom = P("from");
2238 zTo = zTo2 ? zTo2 : P("to");
2239 }else{
2240 commonAncs = path_common_ancestor(me_rid, you_rid);
2241

Keyboard Shortcuts

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