Fossil SCM
Do the same filtering of the "rel" query parameter for from=,bt= and from=,ft= that happens with me=,you=.
Commit
7e1ffdd9ee05dddfc1b3b2c5bc108611e97bd112026440c988fe08f840220c00
Parent
5b141ffffafbfd3…
1 file changed
+4
+4
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -2225,12 +2225,16 @@ | ||
| 2225 | 2225 | if( from_rid && to_rid ){ |
| 2226 | 2226 | if( from_to_mode==0 ){ |
| 2227 | 2227 | p = path_shortest(from_rid, to_rid, noMerge, 0, 0); |
| 2228 | 2228 | }else if( from_to_mode==1 ){ |
| 2229 | 2229 | p = path_shortest(from_rid, to_rid, 0, 1, 0); |
| 2230 | + earlierRid = commonAncs = from_rid; | |
| 2231 | + laterRid = to_rid; | |
| 2230 | 2232 | }else{ |
| 2231 | 2233 | p = path_shortest(to_rid, from_rid, 0, 1, 0); |
| 2234 | + earlierRid = commonAncs = to_rid; | |
| 2235 | + laterRid = from_rid; | |
| 2232 | 2236 | } |
| 2233 | 2237 | zFrom = P("from"); |
| 2234 | 2238 | zTo = zTo2 ? zTo2 : P("to"); |
| 2235 | 2239 | }else{ |
| 2236 | 2240 | commonAncs = path_common_ancestor(me_rid, you_rid); |
| 2237 | 2241 |
| --- 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 |