Menu

#12 Not Allow to reopen a Problem

open
nobody
None
5
2001-06-13
2001-06-13
No

It may be usefull to prevent Users to reopen an
Problem. It would be nicer to have an Pointer from the
new problem to the old one.

Discussion

  • Sven Jacobs

    Sven Jacobs - 2002-01-25

    Logged In: YES
    user_id=439032

    If fact it is not so dificult to adapt the code youself

    descivate the openclosed tickets in the user settings :-)

    create in the vj_showtickets

    <select name="bug">
    <option selected value="nobug"><?echo
    $l_selectbugfromthislist?></option>
    <?
    $query = "SELECT bugs.bug_id FROM bugstest.bugs Where
    bug_status <>\"closed\"";
    $query .= "ORDER BY bug_id;";
    $mysql_result = query($query);
    while ($rowb = mysql_fetch_row($mysql_result)) {
    echo" <option value=\"$rowb[0]\">$rowb[0]
    </option>\n";
    }

    ?>
    </select>
    something like that

    adapt the vj_addevent script
    to add the selected field in the table events ( need to add
    colum there )

    if (settype($txtDuration, "double") && !isset($dontinsert))
    {
    $query = "INSERT INTO events ";
    $query .= "(t_id, e_description, e_duration, s_user,
    e_status, e_assignedto, bug) ";
    $query .= "VALUES
    ('$t_id', '$txtDescription', '$txtDuration', '$s_user', ";
    $query .= "'OPEN', '$lstAssignedto', '$bug');";
    $mysqlresult = query($query);
    if ($mysqlresult) {

    or something like that

     
  • Sven Jacobs

    Sven Jacobs - 2002-01-25

    Logged In: YES
    user_id=439032

    If fact it is not so dificult to adapt the code youself

    descivate the openclosed tickets in the user settings :-)

    create in the vj_showtickets

    <select name="bug">
    <option selected value="nobug"><?echo
    $l_selectbugfromthislist?></option>
    <?
    $query = "SELECT bugs.bug_id FROM bugstest.bugs Where
    bug_status <>\"closed\"";
    $query .= "ORDER BY bug_id;";
    $mysql_result = query($query);
    while ($rowb = mysql_fetch_row($mysql_result)) {
    echo" <option value=\"$rowb[0]\">$rowb[0]
    </option>\n";
    }

    ?>
    </select>
    something like that

    adapt the vj_addevent script
    to add the selected field in the table events ( need to add
    colum there )

    if (settype($txtDuration, "double") && !isset($dontinsert))
    {
    $query = "INSERT INTO events ";
    $query .= "(t_id, e_description, e_duration, s_user,
    e_status, e_assignedto, bug) ";
    $query .= "VALUES
    ('$t_id', '$txtDescription', '$txtDuration', '$s_user', ";
    $query .= "'OPEN', '$lstAssignedto', '$bug');";
    $mysqlresult = query($query);
    if ($mysqlresult) {

    or something like that

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.