Fossil SCM
Restore operation of "related" and "tag filter" widgets, see forum thread TBD for discussion
Commit
e2581e6db794781e4baf35ae21de86bdd7f59a4fc61f06d0ffafba59d6c1499a
Parent
a9027e7d10e2fd2…
1 file changed
+4
-1
+4
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1682,12 +1682,15 @@ | ||
| 1682 | 1682 | " ORDER BY event.mtime LIMIT 1", |
| 1683 | 1683 | P("cf") |
| 1684 | 1684 | ); |
| 1685 | 1685 | } |
| 1686 | 1686 | |
| 1687 | - /* r=TAG works like a combination of t=TAG & rel */ | |
| 1687 | + /* Convert r=TAG to t=TAG&rel. */ | |
| 1688 | 1688 | if( zBrName && !related ){ |
| 1689 | + cgi_delete_query_parameter("r"); | |
| 1690 | + cgi_set_query_parameter("t", zBrName); | |
| 1691 | + cgi_set_query_parameter("rel", "1"); | |
| 1689 | 1692 | zTagName = zBrName; |
| 1690 | 1693 | related = 1; |
| 1691 | 1694 | zType = "ci"; |
| 1692 | 1695 | } |
| 1693 | 1696 | |
| 1694 | 1697 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1682,12 +1682,15 @@ | |
| 1682 | " ORDER BY event.mtime LIMIT 1", |
| 1683 | P("cf") |
| 1684 | ); |
| 1685 | } |
| 1686 | |
| 1687 | /* r=TAG works like a combination of t=TAG & rel */ |
| 1688 | if( zBrName && !related ){ |
| 1689 | zTagName = zBrName; |
| 1690 | related = 1; |
| 1691 | zType = "ci"; |
| 1692 | } |
| 1693 | |
| 1694 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1682,12 +1682,15 @@ | |
| 1682 | " ORDER BY event.mtime LIMIT 1", |
| 1683 | P("cf") |
| 1684 | ); |
| 1685 | } |
| 1686 | |
| 1687 | /* Convert r=TAG to t=TAG&rel. */ |
| 1688 | if( zBrName && !related ){ |
| 1689 | cgi_delete_query_parameter("r"); |
| 1690 | cgi_set_query_parameter("t", zBrName); |
| 1691 | cgi_set_query_parameter("rel", "1"); |
| 1692 | zTagName = zBrName; |
| 1693 | related = 1; |
| 1694 | zType = "ci"; |
| 1695 | } |
| 1696 | |
| 1697 |