Jason Dixon | 17 Oct 2005 20:18
Favicon
Gravatar

Adding requester to My Tickets

I'd like to add the requester to the My Tickets view, but I don't see  
how.  I can see how potentially this could be done, as demonstrated  
by the CSV output in templates.php.  Any suggestions?

Thanks,

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net

--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: whups-unsubscribe <at> lists.horde.org

Jan Schneider | 17 Oct 2005 22:24
Favicon
Gravatar

Re: Adding requester to My Tickets

Zitat von Jason Dixon <jason <at> dixongroup.net>:

> I'd like to add the requester to the My Tickets view, but I don't see
> how.  I can see how potentially this could be done, as demonstrated
> by the CSV output in templates.php.  Any suggestions?

You have to hack mybugs.php

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: whups-unsubscribe <at> lists.horde.org

Rodion Serebryakov | 18 Oct 2005 15:34

Re: Adding requester to My Tickets

Jason,

I've been wanting to have requesters listed for a while, too.  Your post 
inspired me.  Thanks!
My Whups hasn't been updated in a couple of months, and I'm not sure if 
I'm breaking anything.

edited lib/Whups.php
after line 460:

             _("Requester")=> 'user_id_requester',

edited templates/searchresults.inc
after line 98:

              } elseif ($value == 'user_id_requester') {
                  $thevalue = Whups::formatUser($thevalue, false);

==================
Rodion Serebryakov
http://nezna.com
==================

Jason Dixon wrote:
> I'd like to add the requester to the My Tickets view, but I don't see  
> how.  I can see how potentially this could be done, as demonstrated  
> by the CSV output in templates.php.  Any suggestions?
> 
> Thanks,
> 
(Continue reading)

Jason Dixon | 18 Oct 2005 15:58
Favicon
Gravatar

Re: Adding requester to My Tickets

On Oct 18, 2005, at 9:34 AM, Rodion Serebryakov wrote:

> Jason,
>
> I've been wanting to have requesters listed for a while, too.  Your  
> post
> inspired me.  Thanks!
> My Whups hasn't been updated in a couple of months, and I'm not  
> sure if
> I'm breaking anything.
>
> edited lib/Whups.php
> after line 460:
>
>              _("Requester")=> 'user_id_requester',
>
> edited templates/searchresults.inc
> after line 98:
>
>               } elseif ($value == 'user_id_requester') {
>                   $thevalue = Whups::formatUser($thevalue, false);

Thanks, works great!  :)

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net

--

-- 
(Continue reading)

Chuck Hagenbuch | 20 Oct 2005 00:44
Favicon
Gravatar

Re: Adding requester to My Tickets

Quoting Rodion Serebryakov <rserebryakov <at> browncorp.com>:

> I've been wanting to have requesters listed for a while, too.  Your post
> inspired me.  Thanks!
> My Whups hasn't been updated in a couple of months, and I'm not sure if
> I'm breaking anything.
>
> edited lib/Whups.php
> after line 460:
>
>             _("Requester")=> 'user_id_requester',
>
> edited templates/searchresults.inc
> after line 98:
>
>              } elseif ($value == 'user_id_requester') {
>                  $thevalue = Whups::formatUser($thevalue, false);

Please put this into a unified diff and attach it to an enhancement 
request on bugs.horde.org so it doesn't get lost. Thanks!

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams
--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: whups-unsubscribe <at> lists.horde.org
(Continue reading)


Gmane