Fossil SCM
Avoid changing "r=TAG" into "t=TAG" and "rel" in the URL of a /timeline.
Commit
c3b223b71d257b4fbb06563dbd8ba37bd1f77dc61dd38e21edb3fcbb5fc62bb2
Parent
22082e3ff2f905b…
1 file changed
+1
-4
+1
-4
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1662,15 +1662,12 @@ | ||
| 1662 | 1662 | " ORDER BY event.mtime LIMIT 1", |
| 1663 | 1663 | P("cf") |
| 1664 | 1664 | ); |
| 1665 | 1665 | } |
| 1666 | 1666 | |
| 1667 | - /* Convert r=TAG to t=TAG&rel. */ | |
| 1667 | + /* r=TAG works like a combination of t=TAG & rel */ | |
| 1668 | 1668 | if( zBrName && !related ){ |
| 1669 | - cgi_delete_query_parameter("r"); | |
| 1670 | - cgi_set_query_parameter("t", zBrName); | |
| 1671 | - cgi_set_query_parameter("rel", "1"); | |
| 1672 | 1669 | zTagName = zBrName; |
| 1673 | 1670 | related = 1; |
| 1674 | 1671 | zType = "ci"; |
| 1675 | 1672 | } |
| 1676 | 1673 | |
| 1677 | 1674 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1662,15 +1662,12 @@ | |
| 1662 | " ORDER BY event.mtime LIMIT 1", |
| 1663 | P("cf") |
| 1664 | ); |
| 1665 | } |
| 1666 | |
| 1667 | /* Convert r=TAG to t=TAG&rel. */ |
| 1668 | if( zBrName && !related ){ |
| 1669 | cgi_delete_query_parameter("r"); |
| 1670 | cgi_set_query_parameter("t", zBrName); |
| 1671 | cgi_set_query_parameter("rel", "1"); |
| 1672 | zTagName = zBrName; |
| 1673 | related = 1; |
| 1674 | zType = "ci"; |
| 1675 | } |
| 1676 | |
| 1677 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1662,15 +1662,12 @@ | |
| 1662 | " ORDER BY event.mtime LIMIT 1", |
| 1663 | P("cf") |
| 1664 | ); |
| 1665 | } |
| 1666 | |
| 1667 | /* r=TAG works like a combination of t=TAG & rel */ |
| 1668 | if( zBrName && !related ){ |
| 1669 | zTagName = zBrName; |
| 1670 | related = 1; |
| 1671 | zType = "ci"; |
| 1672 | } |
| 1673 | |
| 1674 |