Fossil

Check-in [e2581e6d]
Login

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

Overview
Comment:Restore operation of "related" and "tag filter" widgets, see forum thread https://fossil-scm.org/forum/forumpost/2d5fe3dedc for discussion
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | andygoth-restore-related
Files: files | file ages | folders
SHA3-256: e2581e6db794781e4baf35ae21de86bdd7f59a4fc61f06d0ffafba59d6c1499a
User & Date: andygoth 2019-11-23 20:54:30
Original Comment: Restore operation of "related" and "tag filter" widgets, see forum thread TBD for discussion
Wiki:andygoth-restore-related
Context
2019-11-23
20:55
Show filter description even when "r" is used on a branch that has no wiki check-in: 2a5af707 user: andygoth tags: andygoth-restore-related
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-11-20
15:29
Update the built-in SQLite to the latest 3.31.0 alpha version as a beta-test for SQLite. check-in: a9027e7d user: drh tags: trunk
2019-05-23
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
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/timeline.c.

1680
1681
1682
1683
1684
1685
1686
1687
1688



1689
1690
1691
1692
1693
1694
1695
      " 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 ){







|

>
>
>







1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
      " 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 ){