Fossil SCM

Improved description on /timeline pages that make use of tl= or rl=.

drh 2023-11-19 11:42 trunk
Commit e03200e5454304643363a5ed68d5fb8b5f0658867b6f780d4b255264b2a96700
1 file changed +2 -2
+2 -2
--- src/timeline.c
+++ src/timeline.c
@@ -1417,11 +1417,11 @@
14171417
zStart = "tagname IN ('sym-";
14181418
zDelimiter = "','sym-";
14191419
zEnd = "')";
14201420
zPrefix = "";
14211421
zSuffix = "";
1422
- zIntro = "any of ";
1422
+ zIntro = "";
14231423
}
14241424
14251425
/* Convert the list of matches into an SQL expression and text description. */
14261426
blob_zero(&expr);
14271427
blob_zero(&desc);
@@ -2727,11 +2727,11 @@
27272727
if( zUser ){
27282728
blob_appendf(&desc, " by user %h", zUser);
27292729
tmFlags |= TIMELINE_XMERGE | TIMELINE_FILLGAPS;
27302730
}
27312731
if( zTagSql ){
2732
- if( matchStyle==MS_EXACT ){
2732
+ if( matchStyle==MS_EXACT || matchStyle==MS_BRLIST ){
27332733
if( related ){
27342734
blob_appendf(&desc, " related to %h", zMatchDesc);
27352735
}else{
27362736
blob_appendf(&desc, " tagged with %h", zMatchDesc);
27372737
}
27382738
--- src/timeline.c
+++ src/timeline.c
@@ -1417,11 +1417,11 @@
1417 zStart = "tagname IN ('sym-";
1418 zDelimiter = "','sym-";
1419 zEnd = "')";
1420 zPrefix = "";
1421 zSuffix = "";
1422 zIntro = "any of ";
1423 }
1424
1425 /* Convert the list of matches into an SQL expression and text description. */
1426 blob_zero(&expr);
1427 blob_zero(&desc);
@@ -2727,11 +2727,11 @@
2727 if( zUser ){
2728 blob_appendf(&desc, " by user %h", zUser);
2729 tmFlags |= TIMELINE_XMERGE | TIMELINE_FILLGAPS;
2730 }
2731 if( zTagSql ){
2732 if( matchStyle==MS_EXACT ){
2733 if( related ){
2734 blob_appendf(&desc, " related to %h", zMatchDesc);
2735 }else{
2736 blob_appendf(&desc, " tagged with %h", zMatchDesc);
2737 }
2738
--- src/timeline.c
+++ src/timeline.c
@@ -1417,11 +1417,11 @@
1417 zStart = "tagname IN ('sym-";
1418 zDelimiter = "','sym-";
1419 zEnd = "')";
1420 zPrefix = "";
1421 zSuffix = "";
1422 zIntro = "";
1423 }
1424
1425 /* Convert the list of matches into an SQL expression and text description. */
1426 blob_zero(&expr);
1427 blob_zero(&desc);
@@ -2727,11 +2727,11 @@
2727 if( zUser ){
2728 blob_appendf(&desc, " by user %h", zUser);
2729 tmFlags |= TIMELINE_XMERGE | TIMELINE_FILLGAPS;
2730 }
2731 if( zTagSql ){
2732 if( matchStyle==MS_EXACT || matchStyle==MS_BRLIST ){
2733 if( related ){
2734 blob_appendf(&desc, " related to %h", zMatchDesc);
2735 }else{
2736 blob_appendf(&desc, " tagged with %h", zMatchDesc);
2737 }
2738

Keyboard Shortcuts

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