[rt-users] default values

Kazu Kimura kimura at ctc.ad.jp
Thu Feb 22 23:45:12 EST 2001


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
- - - - - - - - - - - - - - - - - - - -





More information about the rt-users mailing list