Fossil SCM

On a timeline date-time link back to a timeline, set the y=a query parameter so that all artifacts are shown in the target timeline.

drh 2020-03-27 11:29 trunk
Commit 2cdd7573ed8acd8814317fcaefd65dcf9961f4523a84ad27eb8d7661ad87dc2a
1 file changed +2 -2
+2 -2
--- src/timeline.c
+++ src/timeline.c
@@ -429,17 +429,17 @@
429429
zId = db_text(0, "SELECT substr(tagname, 7) FROM tag WHERE tagid=%d",
430430
tagid);
431431
zDateLink = href("%R/technote/%s",zId);
432432
free(zId);
433433
}else{
434
- zDateLink = href("%R/timeline?c=%t",zDate);
434
+ zDateLink = href("%R/timeline?c=%t&y=a",zDate);
435435
}
436436
}else if( zUuid ){
437437
if( bTimestampLinksToInfo ){
438438
zDateLink = chref("timelineHistLink", "%R/info/%!S", zUuid);
439439
}else{
440
- zDateLink = chref("timelineHistLink", "%R/timeline?c=%!S", zUuid);
440
+ zDateLink = chref("timelineHistLink", "%R/timeline?c=%!S&y=a", zUuid);
441441
}
442442
}else{
443443
zDateLink = mprintf("<a>");
444444
}
445445
@ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td>
446446
--- src/timeline.c
+++ src/timeline.c
@@ -429,17 +429,17 @@
429 zId = db_text(0, "SELECT substr(tagname, 7) FROM tag WHERE tagid=%d",
430 tagid);
431 zDateLink = href("%R/technote/%s",zId);
432 free(zId);
433 }else{
434 zDateLink = href("%R/timeline?c=%t",zDate);
435 }
436 }else if( zUuid ){
437 if( bTimestampLinksToInfo ){
438 zDateLink = chref("timelineHistLink", "%R/info/%!S", zUuid);
439 }else{
440 zDateLink = chref("timelineHistLink", "%R/timeline?c=%!S", zUuid);
441 }
442 }else{
443 zDateLink = mprintf("<a>");
444 }
445 @ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td>
446
--- src/timeline.c
+++ src/timeline.c
@@ -429,17 +429,17 @@
429 zId = db_text(0, "SELECT substr(tagname, 7) FROM tag WHERE tagid=%d",
430 tagid);
431 zDateLink = href("%R/technote/%s",zId);
432 free(zId);
433 }else{
434 zDateLink = href("%R/timeline?c=%t&y=a",zDate);
435 }
436 }else if( zUuid ){
437 if( bTimestampLinksToInfo ){
438 zDateLink = chref("timelineHistLink", "%R/info/%!S", zUuid);
439 }else{
440 zDateLink = chref("timelineHistLink", "%R/timeline?c=%!S&y=a", zUuid);
441 }
442 }else{
443 zDateLink = mprintf("<a>");
444 }
445 @ <td class="timelineTime">%z(zDateLink)%s(zTime)</a></td>
446

Keyboard Shortcuts

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