[rt-users] default values
Jesse
jesse at fsck.com
Fri Feb 23 00:00:16 EST 2001
basically, the method I described is for altering the base search for
_everyone_. The way you should configure the variables is by
doing the search you want and then taking the values from the
generated URL and plugging them into:
$rt::ui::web::FORM{'q_<NAME>'}='<VALUE>';
if you only want to set defaukts for yourself, just bookmark new searches. it
will be much easier.
-j
On Fri, Feb 23, 2001 at 01:45:12PM +0900, Kazu Kimura wrote:
> I evaluated Ryan's method and Jesse'.
>
> Suppose I need 5 minutes as refresh time and need to see requests
> assigned to me as defaults, then, following should be changed in
> manipulate.pm.
> (1)
> #we subtract 1 from the refresh rate so that the default value is -1..which
> #means never refresh...as 0 should...but 0 means refresh now.
>
> if ( ! $rt::ui::web::FORM{'refresh'} ) {
> $rt::ui::web::FORM{'refresh'} = -1; <---300 for 5minutes
> instead.
> }
> if ($rt::ui::web::FORM{'refresh'} > -1) {
> print "<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"". $rt::ui::web::FORM{'refresh'}
> ."\">";
>
> (2)
> #$rt::ui::web::FORM{'q_owned_by_me'}='true';
>
> $rt::ui::web::FORM{'q_owned_by_me'}='true';
> Simply, # is deleted.
>
> This worked well. But still I have a question concerning queue. How do we set? and if it is set, are all users affected?
>
> Thank you for the advise.
>
> Regards,
> Kazu
>
> - - - - - - - - - - - - - - - - - - -
> Kazu Kimura <kimura at ctc.ad.jp>
> IP Network tech. dep. CTC
> Phone +81-52-740-8101
> Fax +81-52-740-8935
> - - - - - - - - - - - - - - - - - - - -
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
--
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90
...realized that the entire structure of the net could be changed to be made
more efficient, elegant, and spontaneously make more money for everyone
involved. It's a marvelously simple diagram, but this form doesn't have a way
for me to draw it. It'll wait. -Adam Hirsch
More information about the rt-users
mailing list