Fossil

Check-in [29751794]
Login

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

Overview
Comment:Fix ticket [135d8acbae] - parent/child indicators on timeline fail if there are suppressed lines because they still generate an entry in the JavaScript for the id that was skipped.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 297517944294eb83ac6b359c624103a261133832
User & Date: eric 2010-01-10 18:41:21
References
2010-01-14
22:55 Fixed ticket [135d8acb]: Website: Ancestors/Descendant JavaScript not working on fossil-scm.org plus 2 other changes artifact: 01d2c12e user: eric
Context
2010-01-11
17:11
Added a 'New Ticket' link to the 'View Ticket' sub menu check-in: 1bf6cf83 user: jeremy_c tags: trunk
2010-01-10
18:41
Fix ticket [135d8acbae] - parent/child indicators on timeline fail if there are suppressed lines because they still generate an entry in the JavaScript for the id that was skipped. check-in: 29751794 user: eric tags: trunk
14:27
Merged ticket report list fixes from [cd93f5965b] into trunk check-in: 023c9fed user: jeremy_c tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/timeline.c.

693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
  blob_reset(&desc);
  www_print_timeline(&q, tmFlags, 0);
  db_finalize(&q);

  @ <script>
  @ var parentof = new Object();
  @ var childof = new Object();
  db_prepare(&q, "SELECT rid FROM timeline");
  while( db_step(&q)==SQLITE_ROW ){
    int rid = db_column_int(&q, 0);
    Stmt q2;
    const char *zSep;
    Blob *pOut = cgi_output_blob();

    db_prepare(&q2, "SELECT pid FROM plink WHERE cid=%d", rid);







|







693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
  blob_reset(&desc);
  www_print_timeline(&q, tmFlags, 0);
  db_finalize(&q);

  @ <script>
  @ var parentof = new Object();
  @ var childof = new Object();
  db_prepare(&q, "SELECT rid FROM seen");
  while( db_step(&q)==SQLITE_ROW ){
    int rid = db_column_int(&q, 0);
    Stmt q2;
    const char *zSep;
    Blob *pOut = cgi_output_blob();

    db_prepare(&q2, "SELECT pid FROM plink WHERE cid=%d", rid);