Fossil SCM
If the "ms=STYLE" query parameter is present on /timeline, it overrides the implied "ms=brlist" associated with the "tl=TAGLIST", "rl=TAGLIST", and "ml=TAGLIST" query parameters,
Commit
4e51891e47f4829f8a0af0e4662583630136d5c71903768b1b9fc106d8fccf9c
Parent
7f06e5ca6e5e94f…
1 file changed
+3
-3
+3
-3
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1814,21 +1814,21 @@ | ||
| 1814 | 1814 | ** t=TAGLIST&ms=brlist and r=TAGLIST&ms=brlist repectively. */ |
| 1815 | 1815 | if( zBrName==0 && zTagName==0 ){ |
| 1816 | 1816 | const char *z; |
| 1817 | 1817 | if( (z = P("tl"))!=0 ){ |
| 1818 | 1818 | zTagName = z; |
| 1819 | - zMatchStyle = "brlist"; | |
| 1819 | + if( zMatchStyle==0 ) zMatchStyle = "brlist"; | |
| 1820 | 1820 | }else |
| 1821 | 1821 | if( (z = P("rl"))!=0 ){ |
| 1822 | 1822 | zBrName = z; |
| 1823 | 1823 | if( related==0 ) related = 1; |
| 1824 | - zMatchStyle = "brlist"; | |
| 1824 | + if( zMatchStyle==0 ) zMatchStyle = "brlist"; | |
| 1825 | 1825 | }else |
| 1826 | 1826 | if( (z = P("ml"))!=0 ){ |
| 1827 | 1827 | zBrName = z; |
| 1828 | 1828 | if( related==0 ) related = 2; |
| 1829 | - zMatchStyle = "brlist"; | |
| 1829 | + if( zMatchStyle==0 ) zMatchStyle = "brlist"; | |
| 1830 | 1830 | } |
| 1831 | 1831 | } |
| 1832 | 1832 | |
| 1833 | 1833 | /* Convert r=TAG to t=TAG&rel in order to populate the UI style widgets. */ |
| 1834 | 1834 | if( zBrName ){ |
| 1835 | 1835 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1814,21 +1814,21 @@ | |
| 1814 | ** t=TAGLIST&ms=brlist and r=TAGLIST&ms=brlist repectively. */ |
| 1815 | if( zBrName==0 && zTagName==0 ){ |
| 1816 | const char *z; |
| 1817 | if( (z = P("tl"))!=0 ){ |
| 1818 | zTagName = z; |
| 1819 | zMatchStyle = "brlist"; |
| 1820 | }else |
| 1821 | if( (z = P("rl"))!=0 ){ |
| 1822 | zBrName = z; |
| 1823 | if( related==0 ) related = 1; |
| 1824 | zMatchStyle = "brlist"; |
| 1825 | }else |
| 1826 | if( (z = P("ml"))!=0 ){ |
| 1827 | zBrName = z; |
| 1828 | if( related==0 ) related = 2; |
| 1829 | zMatchStyle = "brlist"; |
| 1830 | } |
| 1831 | } |
| 1832 | |
| 1833 | /* Convert r=TAG to t=TAG&rel in order to populate the UI style widgets. */ |
| 1834 | if( zBrName ){ |
| 1835 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1814,21 +1814,21 @@ | |
| 1814 | ** t=TAGLIST&ms=brlist and r=TAGLIST&ms=brlist repectively. */ |
| 1815 | if( zBrName==0 && zTagName==0 ){ |
| 1816 | const char *z; |
| 1817 | if( (z = P("tl"))!=0 ){ |
| 1818 | zTagName = z; |
| 1819 | if( zMatchStyle==0 ) zMatchStyle = "brlist"; |
| 1820 | }else |
| 1821 | if( (z = P("rl"))!=0 ){ |
| 1822 | zBrName = z; |
| 1823 | if( related==0 ) related = 1; |
| 1824 | if( zMatchStyle==0 ) zMatchStyle = "brlist"; |
| 1825 | }else |
| 1826 | if( (z = P("ml"))!=0 ){ |
| 1827 | zBrName = z; |
| 1828 | if( related==0 ) related = 2; |
| 1829 | if( zMatchStyle==0 ) zMatchStyle = "brlist"; |
| 1830 | } |
| 1831 | } |
| 1832 | |
| 1833 | /* Convert r=TAG to t=TAG&rel in order to populate the UI style widgets. */ |
| 1834 | if( zBrName ){ |
| 1835 |