Fossil SCM

Add the "Brief" toggle to the /timeline submenu with doing a from=,to= query.

drh 2026-07-10 17:45 UTC trunk
Commit 20af21bad811b379b80e2686fa9a338a7bc503317e11f6d88a67675740e0f863
1 file changed +2 -1
+2 -1
--- src/timeline.c
+++ src/timeline.c
@@ -1868,11 +1868,11 @@
18681868
int showCherrypicks = 1; /* True to show cherrypick merges */
18691869
int haveParameterN; /* True if n= query parameter present */
18701870
int from_to_mode = 0; /* 0: from,to. 1: from,ft 2: from,bt */
18711871
int showSql = PB("showsql"); /* True to show the SQL */
18721872
Blob allSql; /* Copy of all SQL text */
1873
- int bMin = P("min")!=0; /* True if "min" query parameter used */
1873
+ int bMin = PB("min"); /* True if "min" query parameter used */
18741874
18751875
login_check_credentials();
18761876
url_initialize(&url, "timeline");
18771877
cgi_query_parameters_to_url(&url);
18781878
blob_init(&allSql, 0, 0);
@@ -2288,10 +2288,11 @@
22882288
}else{
22892289
cnt++;
22902290
blob_append_sql(&ins, ",(%d)", p->rid);
22912291
}
22922292
}
2293
+ style_submenu_checkbox("min","Brief",0,0);
22932294
}
22942295
path_reset();
22952296
db_multi_exec("%s", blob_str(&ins)/*safe-for-%s*/);
22962297
blob_reset(&ins);
22972298
if( related ){
22982299
--- src/timeline.c
+++ src/timeline.c
@@ -1868,11 +1868,11 @@
1868 int showCherrypicks = 1; /* True to show cherrypick merges */
1869 int haveParameterN; /* True if n= query parameter present */
1870 int from_to_mode = 0; /* 0: from,to. 1: from,ft 2: from,bt */
1871 int showSql = PB("showsql"); /* True to show the SQL */
1872 Blob allSql; /* Copy of all SQL text */
1873 int bMin = P("min")!=0; /* True if "min" query parameter used */
1874
1875 login_check_credentials();
1876 url_initialize(&url, "timeline");
1877 cgi_query_parameters_to_url(&url);
1878 blob_init(&allSql, 0, 0);
@@ -2288,10 +2288,11 @@
2288 }else{
2289 cnt++;
2290 blob_append_sql(&ins, ",(%d)", p->rid);
2291 }
2292 }
 
2293 }
2294 path_reset();
2295 db_multi_exec("%s", blob_str(&ins)/*safe-for-%s*/);
2296 blob_reset(&ins);
2297 if( related ){
2298
--- src/timeline.c
+++ src/timeline.c
@@ -1868,11 +1868,11 @@
1868 int showCherrypicks = 1; /* True to show cherrypick merges */
1869 int haveParameterN; /* True if n= query parameter present */
1870 int from_to_mode = 0; /* 0: from,to. 1: from,ft 2: from,bt */
1871 int showSql = PB("showsql"); /* True to show the SQL */
1872 Blob allSql; /* Copy of all SQL text */
1873 int bMin = PB("min"); /* True if "min" query parameter used */
1874
1875 login_check_credentials();
1876 url_initialize(&url, "timeline");
1877 cgi_query_parameters_to_url(&url);
1878 blob_init(&allSql, 0, 0);
@@ -2288,10 +2288,11 @@
2288 }else{
2289 cnt++;
2290 blob_append_sql(&ins, ",(%d)", p->rid);
2291 }
2292 }
2293 style_submenu_checkbox("min","Brief",0,0);
2294 }
2295 path_reset();
2296 db_multi_exec("%s", blob_str(&ins)/*safe-for-%s*/);
2297 blob_reset(&ins);
2298 if( related ){
2299

Keyboard Shortcuts

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