Overview
SHA1 Hash: | 8636eef6e28f8e45217c32e399efe19151f75080 |
---|---|
Date: | 2009-01-29 02:48:32 |
User: | drh |
Comment: | On the taglist and tagtimeline pages, only show non-propagating tags. Omit the branch tags. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/tag.c from [deb9d688fd] to [ddf9f91f87].
@@ -493,17 +493,17 @@ if( !g.okRead ){ login_needed(); } style_header("Tags"); style_submenu_element("Timeline", "Timeline", "tagtimeline"); - @ <h2>Tags used by one or more check-ins:</h2> + @ <h2>Non-propagating tags:</h2> db_prepare(&q, "SELECT substr(tagname,5)" " FROM tag" " WHERE EXISTS(SELECT 1 FROM tagxref" " WHERE tagid=tag.tagid" - " AND tagtype>0)" + " AND tagtype=1)" " AND tagname GLOB 'sym-*'" " ORDER BY tagname" ); @ <ul> while( db_step(&q)==SQLITE_ROW ){ @@ -555,14 +555,14 @@ if( !g.okRead ){ login_needed(); return; } style_header("Tagged Check-ins"); style_submenu_element("List", "List", "taglist"); login_anonymous_available(); - @ <h2>Initial check-ins for each tag:</t2> + @ <h2>Check-ins with non-propagating tags:</t2> db_prepare(&q, "%s AND blob.rid IN (SELECT rid FROM tagxref" - " WHERE tagtype>0 AND srcid>0" + " WHERE tagtype=1 AND srcid>0" " AND tagid IN (SELECT tagid FROM tag " " WHERE tagname GLOB 'sym-*'))" " ORDER BY event.mtime DESC", timeline_query_for_www() );