From mtb19 at columbia.edu Mon Jan 7 01:32:45 2013 From: mtb19 at columbia.edu (Matthew Bogosian) Date: Sun, 6 Jan 2013 17:32:45 -0800 Subject: How do I process column values after retrieval, but before display in buglist.cgi? Message-ID: This is an extension authoring newbie question. Actually there are two questions: 1. How do I use multiple source columns to create a single output column in buglist.cgi? 2. How do I format values after retrieval but before display in buglist.cgi (ideally using only hooks without modifying default templates)? Specifically, I want to collapse the values from two distinct columns into a single value for display on buglist.cgi. For example, let's say I want like printf("%s (%s)", rep_platform, op_sys); to display as a single column called "Env" in my search results. I looked into overriding buglist_columns and/or buglist_column_joins in an extension, but these do not appear to allow post-processing multiple undisplayed columns to create a single value (unless I use SQL to do the formatting, which I'm reluctant to do). Any guidance is greatly appreciated.... --Matt From mtb19 at columbia.edu Tue Jan 8 01:46:54 2013 From: mtb19 at columbia.edu (Matthew Bogosian) Date: Mon, 7 Jan 2013 17:46:54 -0800 Subject: Changes to extension-created field aren't written to DB from process_bug.cgi? Message-ID: In an extension, I have created a new field using the install_update_db hook. I've managed to get the new field into the DB by running checksetup.pl, and am able to display it for editing in show_bug.cgi using