Fossil SCM

Call ticket_init() from the report view so users can have access to all the common ticket code

jeremy_c 2010-01-09 18:43 trunk
Commit 6d0b76d01f85150e99c2c326b11276571c885584
1 file changed +1
--- src/report.c
+++ src/report.c
@@ -47,10 +47,11 @@
4747
if( g.thTrace ) Th_Trace("BEGIN_REPORTLIST<br />\n", -1);
4848
zScript = ticket_reportlist_code();
4949
if( g.thTrace ) Th_Trace("BEGIN_REPORTLIST_SCRIPT<br />\n", -1);
5050
5151
blob_zero(&ril);
52
+ ticket_init();
5253
5354
db_prepare(&q, "SELECT rn, title, owner FROM reportfmt ORDER BY title");
5455
while( db_step(&q)==SQLITE_ROW ){
5556
const char *zTitle = db_column_text(&q, 1);
5657
const char *zOwner = db_column_text(&q, 2);
5758
--- src/report.c
+++ src/report.c
@@ -47,10 +47,11 @@
47 if( g.thTrace ) Th_Trace("BEGIN_REPORTLIST<br />\n", -1);
48 zScript = ticket_reportlist_code();
49 if( g.thTrace ) Th_Trace("BEGIN_REPORTLIST_SCRIPT<br />\n", -1);
50
51 blob_zero(&ril);
 
52
53 db_prepare(&q, "SELECT rn, title, owner FROM reportfmt ORDER BY title");
54 while( db_step(&q)==SQLITE_ROW ){
55 const char *zTitle = db_column_text(&q, 1);
56 const char *zOwner = db_column_text(&q, 2);
57
--- src/report.c
+++ src/report.c
@@ -47,10 +47,11 @@
47 if( g.thTrace ) Th_Trace("BEGIN_REPORTLIST<br />\n", -1);
48 zScript = ticket_reportlist_code();
49 if( g.thTrace ) Th_Trace("BEGIN_REPORTLIST_SCRIPT<br />\n", -1);
50
51 blob_zero(&ril);
52 ticket_init();
53
54 db_prepare(&q, "SELECT rn, title, owner FROM reportfmt ORDER BY title");
55 while( db_step(&q)==SQLITE_ROW ){
56 const char *zTitle = db_column_text(&q, 1);
57 const char *zOwner = db_column_text(&q, 2);
58

Keyboard Shortcuts

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