Change defaults in Refine Search window

Dear List,

Is there any way to change the defaults that are in the Refine search window in
Search/Listing.html ?

So for example instead of “Queue <->” we might want it to be
"Queue "

Or Ordering and Sorting, instead of defaulting to 50, default to 100 or
unlimited.

Is this possible / what would have to be edited?

Thanks for the help…

share/html/Elements/SelectQueue

% if ($ShowNullOption) { - % } % while (my $queue=$q->Next) { % if ($ShowAllQueues || $queue->CurrentUserHasRight('CreateTicket')) { Id == $Default)) && 'SELECTED'%>><%$queue->Name%> % if (($Verbose) and ($queue->Description) ){ (<%$queue->Description%>) % } % } % }

The list always shows the 1st element if none is selected,

by putting the option ‘-’ after the while loop, you will get the 1st
Queue (depending on the Queue name, sorted by letter).

Dave Dennis wrote:

Dear List,

Is there any way to change the defaults that are in the Refine search window in
Search/Listing.html ?

So for example instead of “Queue <->” we might want it to be
"Queue "

Or Ordering and Sorting, instead of defaulting to 50, default to 100 or
unlimited.

share/html/Elements/SelectResultsPerPage

my @values = qw(0 10 25 50 100);
my @labels = (loc(‘Unlimited’), qw(10 25 50 100));
</%INIT>
<%ARGS>

$Name => undef
$Default => 50

change the default value

Is this possible / what would have to be edited?

Thanks for the help…

±------------------------


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

warm regards
Vinita Vigine Murugiah
Email : vinita@cs.mu.oz.au Ph : (03) 8344 1273