Fossil

Check-in [f6844f3a]
Login

Check-in [f6844f3a]

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

Overview
Comment:Fix so that when showing stats for single user, that user's name is selected in the box
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | pending-review
Files: files | file ages | folders
SHA1: f6844f3a0ac9d545e8dbe33e92c9f787bc6ac992
User & Date: baruch 2015-12-21 20:17:21
Context
2015-12-22
14:44
Removed unneeded variable ... (Closed-Leaf check-in: 2c5a5e82 user: baruch tags: pending-review)
2015-12-21
20:17
Fix so that when showing stats for single user, that user's name is selected in the box ... (check-in: f6844f3a user: baruch tags: pending-review)
2015-12-20
02:02
Make use of the new $ROOT feature in the on-line documentation. ... (check-in: 60486250 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/statrep.c.
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
      azView[nView++] = aViewType[i].zName;
    }
    if( eType!=RPT_BYFILE ){
      style_submenu_multichoice("type", ArraySize(azType)/2, azType, 0);
    }
    style_submenu_multichoice("view", nView/2, azView, 0);
    if( eType!=RPT_BYUSER ){
      style_submenu_sql("u","User:",
         "SELECT '', 'All Users' UNION ALL "
         "SELECT x, x FROM ("
         "  SELECT DISTINCT trim(coalesce(euser,user)) AS x FROM event %s"
         "  ORDER BY 1 COLLATE nocase) WHERE x!=''",
         eType==RPT_BYFILE ? "WHERE type='ci'" : ""
      );
    }







|







721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
      azView[nView++] = aViewType[i].zName;
    }
    if( eType!=RPT_BYFILE ){
      style_submenu_multichoice("type", ArraySize(azType)/2, azType, 0);
    }
    style_submenu_multichoice("view", nView/2, azView, 0);
    if( eType!=RPT_BYUSER ){
      style_submenu_sql("user","User:",
         "SELECT '', 'All Users' UNION ALL "
         "SELECT x, x FROM ("
         "  SELECT DISTINCT trim(coalesce(euser,user)) AS x FROM event %s"
         "  ORDER BY 1 COLLATE nocase) WHERE x!=''",
         eType==RPT_BYFILE ? "WHERE type='ci'" : ""
      );
    }