Fossil

Check-in [67412fbb35]
Login

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

Overview
Comment:Improve comment to explain why the "r" query is being rewritten
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | andygoth-restore-related
Files: files | file ages | folders
SHA3-256: 67412fbb35edd6e1193286f246d7d2ce622f2e63a2ddf24684a13a6ba4705039
User & Date: andygoth 2019-11-23 21:46:42
Original Comment: Improve comment to explain why the r query is being rewritten
Wiki:andygoth-restore-related
Context
2019-11-28
10:23
Restore operation of "related" and "tag filter" widgets check-in: 820d70512a user: drh tags: trunk
2019-11-23
21:46
Improve comment to explain why the "r" query is being rewritten Closed-Leaf check-in: 67412fbb35 user: andygoth tags: andygoth-restore-related
20:55
Show filter description even when "r" is used on a branch that has no wiki check-in: 2a5af7076b user: andygoth tags: andygoth-restore-related
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
      " 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";







|







1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
      " 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 in order to populate the UI style widgets. */
  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";