phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] RC2 tts viewticket_details.php


From: Peter Moulding
Subject: [Phpgroupware-developers] RC2 tts viewticket_details.php
Date: Wed, 20 Mar 2002 13:48:57 +1100

Symptom:
When I update a ticket, the default ticket status is the first on the
list, not the previous value.

Fix:
/*******************************************************************\
This list seems to be missing status so I added it.
\*******************************************************************/
$ticket['billable_hours'] =
$GLOBALS['phpgw']->db->f('ticket_billable_hours');
$ticket['billable_rate']  =
$GLOBALS['phpgw']->db->f('ticket_billable_rate');
$ticket['assignedto']     =
$GLOBALS['phpgw']->db->f('ticket_assignedto');
$ticket['category']       = $GLOBALS['phpgw']->db->f('ticket_category');
$ticket['details']        = $GLOBALS['phpgw']->db->f('ticket_details');
$ticket['subject']        = $GLOBALS['phpgw']->db->f('ticket_subject');
$ticket['priority']       = $GLOBALS['phpgw']->db->f('ticket_priority');
$ticket['owner']          = $GLOBALS['phpgw']->db->f('ticket_owner');
$ticket['group']          = $GLOBALS['phpgw']->db->f('ticket_group');
$ticket['status']         = $GLOBALS['phpgw']->db->f('ticket_status');

diff:
I found this at a on a machine that does not have diff installed.

Other changes:
I found the status table in two places in each of two tables. It could
be moved to tts/inc/functions.inc.php which, by my reading of the
phpGroupWare documentation, is the place for standard things that are
used across multiple pages within one application. I could look at
running up some more changes like that but I am doing the work on
someone else's workstation so cannot install utilities like diff.

There are lots of pages across many apps that need a [done] button. I
will add them at this site as I find them. Should I send them in for the
developers? They will be in this form, not as diffs.

Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]