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,

drh 2024-12-24 03:43 rl-determines-graph-order
Commit 4e51891e47f4829f8a0af0e4662583630136d5c71903768b1b9fc106d8fccf9c
1 file changed +3 -3
+3 -3
--- src/timeline.c
+++ src/timeline.c
@@ -1814,21 +1814,21 @@
18141814
** t=TAGLIST&ms=brlist and r=TAGLIST&ms=brlist repectively. */
18151815
if( zBrName==0 && zTagName==0 ){
18161816
const char *z;
18171817
if( (z = P("tl"))!=0 ){
18181818
zTagName = z;
1819
- zMatchStyle = "brlist";
1819
+ if( zMatchStyle==0 ) zMatchStyle = "brlist";
18201820
}else
18211821
if( (z = P("rl"))!=0 ){
18221822
zBrName = z;
18231823
if( related==0 ) related = 1;
1824
- zMatchStyle = "brlist";
1824
+ if( zMatchStyle==0 ) zMatchStyle = "brlist";
18251825
}else
18261826
if( (z = P("ml"))!=0 ){
18271827
zBrName = z;
18281828
if( related==0 ) related = 2;
1829
- zMatchStyle = "brlist";
1829
+ if( zMatchStyle==0 ) zMatchStyle = "brlist";
18301830
}
18311831
}
18321832
18331833
/* Convert r=TAG to t=TAG&rel in order to populate the UI style widgets. */
18341834
if( zBrName ){
18351835
--- 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

Keyboard Shortcuts

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