Diff
Not logged in

Differences From:

File src/tag.c part of check-in [a12cb216b7] - Reenable the "Tags" menu item, but make it go to the new "taglist" page. Also add separate "tagtimeline" page and separate "brlist" into "brlist" and "brtimeline". by drh on 2009-01-22 13:08:42. [view]

To:

File src/tag.c part of check-in [8636eef6e2] - On the taglist and tagtimeline pages, only show non-propagating tags. Omit the branch tags. by drh on 2009-01-29 02:48:32. [view]

@@ -494,15 +494,15 @@
     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>
@@ -556,12 +556,12 @@
 
   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()