Fossil SCM

Fix so that when showing stats for single user, that user's name is selected in the box

baruch 2015-12-21 20:17 trunk
Commit f6844f3a0ac9d545e8dbe33e92c9f787bc6ac992
1 file changed +1 -1
+1 -1
--- src/statrep.c
+++ src/statrep.c
@@ -723,11 +723,11 @@
723723
if( eType!=RPT_BYFILE ){
724724
style_submenu_multichoice("type", ArraySize(azType)/2, azType, 0);
725725
}
726726
style_submenu_multichoice("view", nView/2, azView, 0);
727727
if( eType!=RPT_BYUSER ){
728
- style_submenu_sql("u","User:",
728
+ style_submenu_sql("user","User:",
729729
"SELECT '', 'All Users' UNION ALL "
730730
"SELECT x, x FROM ("
731731
" SELECT DISTINCT trim(coalesce(euser,user)) AS x FROM event %s"
732732
" ORDER BY 1 COLLATE nocase) WHERE x!=''",
733733
eType==RPT_BYFILE ? "WHERE type='ci'" : ""
734734
--- src/statrep.c
+++ src/statrep.c
@@ -723,11 +723,11 @@
723 if( eType!=RPT_BYFILE ){
724 style_submenu_multichoice("type", ArraySize(azType)/2, azType, 0);
725 }
726 style_submenu_multichoice("view", nView/2, azView, 0);
727 if( eType!=RPT_BYUSER ){
728 style_submenu_sql("u","User:",
729 "SELECT '', 'All Users' UNION ALL "
730 "SELECT x, x FROM ("
731 " SELECT DISTINCT trim(coalesce(euser,user)) AS x FROM event %s"
732 " ORDER BY 1 COLLATE nocase) WHERE x!=''",
733 eType==RPT_BYFILE ? "WHERE type='ci'" : ""
734
--- src/statrep.c
+++ src/statrep.c
@@ -723,11 +723,11 @@
723 if( eType!=RPT_BYFILE ){
724 style_submenu_multichoice("type", ArraySize(azType)/2, azType, 0);
725 }
726 style_submenu_multichoice("view", nView/2, azView, 0);
727 if( eType!=RPT_BYUSER ){
728 style_submenu_sql("user","User:",
729 "SELECT '', 'All Users' UNION ALL "
730 "SELECT x, x FROM ("
731 " SELECT DISTINCT trim(coalesce(euser,user)) AS x FROM event %s"
732 " ORDER BY 1 COLLATE nocase) WHERE x!=''",
733 eType==RPT_BYFILE ? "WHERE type='ci'" : ""
734

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button