Fossil SCM
Add the "Brief" toggle to the /timeline submenu with doing a from=,to= query.
Commit
20af21bad811b379b80e2686fa9a338a7bc503317e11f6d88a67675740e0f863
Parent
face9316a47dcc2…
1 file changed
+2
-1
+2
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1868,11 +1868,11 @@ | ||
| 1868 | 1868 | int showCherrypicks = 1; /* True to show cherrypick merges */ |
| 1869 | 1869 | int haveParameterN; /* True if n= query parameter present */ |
| 1870 | 1870 | int from_to_mode = 0; /* 0: from,to. 1: from,ft 2: from,bt */ |
| 1871 | 1871 | int showSql = PB("showsql"); /* True to show the SQL */ |
| 1872 | 1872 | 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 */ | |
| 1874 | 1874 | |
| 1875 | 1875 | login_check_credentials(); |
| 1876 | 1876 | url_initialize(&url, "timeline"); |
| 1877 | 1877 | cgi_query_parameters_to_url(&url); |
| 1878 | 1878 | blob_init(&allSql, 0, 0); |
| @@ -2288,10 +2288,11 @@ | ||
| 2288 | 2288 | }else{ |
| 2289 | 2289 | cnt++; |
| 2290 | 2290 | blob_append_sql(&ins, ",(%d)", p->rid); |
| 2291 | 2291 | } |
| 2292 | 2292 | } |
| 2293 | + style_submenu_checkbox("min","Brief",0,0); | |
| 2293 | 2294 | } |
| 2294 | 2295 | path_reset(); |
| 2295 | 2296 | db_multi_exec("%s", blob_str(&ins)/*safe-for-%s*/); |
| 2296 | 2297 | blob_reset(&ins); |
| 2297 | 2298 | if( related ){ |
| 2298 | 2299 |
| --- 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 |