Fossil SCM

On the /timeline page with the r= or t= query parameters, change the header to report that it is showing only check-ins, since that is all it will show regardless.

drh 2019-01-01 19:45 trunk
Commit 31edaabf2b358ad74548804ce86343ec1d6554654e3081af8437bf83c2e090a9
1 file changed +2
--- src/timeline.c
+++ src/timeline.c
@@ -1583,19 +1583,21 @@
15831583
cgi_delete_query_parameter("r");
15841584
cgi_set_query_parameter("t", zBrName);
15851585
cgi_set_query_parameter("rel", "1");
15861586
zTagName = zBrName;
15871587
related = 1;
1588
+ zType = "ci";
15881589
}
15891590
15901591
/* Ignore empty tag query strings. */
15911592
if( zTagName && !*zTagName ){
15921593
zTagName = 0;
15931594
}
15941595
15951596
/* Finish preliminary processing of tag match queries. */
15961597
if( zTagName ){
1598
+ zType = "ci";
15971599
/* Interpet the tag style string. */
15981600
if( fossil_stricmp(zMatchStyle, "glob")==0 ){
15991601
matchStyle = MS_GLOB;
16001602
}else if( fossil_stricmp(zMatchStyle, "like")==0 ){
16011603
matchStyle = MS_LIKE;
16021604
--- src/timeline.c
+++ src/timeline.c
@@ -1583,19 +1583,21 @@
1583 cgi_delete_query_parameter("r");
1584 cgi_set_query_parameter("t", zBrName);
1585 cgi_set_query_parameter("rel", "1");
1586 zTagName = zBrName;
1587 related = 1;
 
1588 }
1589
1590 /* Ignore empty tag query strings. */
1591 if( zTagName && !*zTagName ){
1592 zTagName = 0;
1593 }
1594
1595 /* Finish preliminary processing of tag match queries. */
1596 if( zTagName ){
 
1597 /* Interpet the tag style string. */
1598 if( fossil_stricmp(zMatchStyle, "glob")==0 ){
1599 matchStyle = MS_GLOB;
1600 }else if( fossil_stricmp(zMatchStyle, "like")==0 ){
1601 matchStyle = MS_LIKE;
1602
--- src/timeline.c
+++ src/timeline.c
@@ -1583,19 +1583,21 @@
1583 cgi_delete_query_parameter("r");
1584 cgi_set_query_parameter("t", zBrName);
1585 cgi_set_query_parameter("rel", "1");
1586 zTagName = zBrName;
1587 related = 1;
1588 zType = "ci";
1589 }
1590
1591 /* Ignore empty tag query strings. */
1592 if( zTagName && !*zTagName ){
1593 zTagName = 0;
1594 }
1595
1596 /* Finish preliminary processing of tag match queries. */
1597 if( zTagName ){
1598 zType = "ci";
1599 /* Interpet the tag style string. */
1600 if( fossil_stricmp(zMatchStyle, "glob")==0 ){
1601 matchStyle = MS_GLOB;
1602 }else if( fossil_stricmp(zMatchStyle, "like")==0 ){
1603 matchStyle = MS_LIKE;
1604

Keyboard Shortcuts

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