Fossil

Check-in [c3b223b7]
Login

Check-in [c3b223b7]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Avoid changing "r=TAG" into "t=TAG" and "rel" in the URL of a /timeline.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tooltip-experiments
Files: files | file ages | folders
SHA3-256: c3b223b71d257b4fbb06563dbd8ba37bd1f77dc61dd38e21edb3fcbb5fc62bb2
User & Date: drh 2019-05-23 02:25:40
Context
2019-11-23
20:54
Restore operation of "related" and "tag filter" widgets, see forum thread https://fossil-scm.org/forum/forumpost/2d5fe3dedc for discussion ... (check-in: e2581e6d user: andygoth tags: andygoth-restore-related)
2019-05-23
02:29
Default dwell and close times for tooltips changes to 100 and 250 milliseconds. ... (check-in: 42c57c97 user: drh tags: tooltip-experiments)
02:25
Avoid changing "r=TAG" into "t=TAG" and "rel" in the URL of a /timeline. ... (check-in: c3b223b7 user: drh tags: tooltip-experiments)
01:55
Add a box-shadow to the default CSS for tooltips. ... (check-in: 22082e3f user: drh tags: tooltip-experiments)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/timeline.c.
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
      " WHERE mlink.fid=(SELECT rid FROM blob WHERE uuid LIKE '%q%%')"
      "   AND event.objid=mlink.mid"
      " ORDER BY event.mtime LIMIT 1",
      P("cf")
    );
  }

  /* Convert r=TAG to t=TAG&rel. */
  if( zBrName && !related ){
    cgi_delete_query_parameter("r");
    cgi_set_query_parameter("t", zBrName);
    cgi_set_query_parameter("rel", "1");
    zTagName = zBrName;
    related = 1;
    zType = "ci";
  }

  /* Ignore empty tag query strings. */
  if( zTagName && !*zTagName ){







|

<
<
<







1660
1661
1662
1663
1664
1665
1666
1667
1668



1669
1670
1671
1672
1673
1674
1675
      " WHERE mlink.fid=(SELECT rid FROM blob WHERE uuid LIKE '%q%%')"
      "   AND event.objid=mlink.mid"
      " ORDER BY event.mtime LIMIT 1",
      P("cf")
    );
  }

  /* r=TAG works like a combination of t=TAG & rel */
  if( zBrName && !related ){



    zTagName = zBrName;
    related = 1;
    zType = "ci";
  }

  /* Ignore empty tag query strings. */
  if( zTagName && !*zTagName ){