Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RT_Config.pm.in: PriorityAsString clarity for perl noobs #354

Open
wants to merge 1 commit into
base: 5.0-trunk
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions etc/RT_Config.pm.in
Original file line number Diff line number Diff line change
Expand Up @@ -2859,25 +2859,25 @@ giving a unique number to each.

Set(%PriorityAsString,
Default => { Low => 0, Medium => 50, High => 100 },
General => [ Medium => 50, Low => 0, High => 80, 'On Fire' => 100],
General => [ Medium, 50, Low, 0, High, 80, 'On Fire', 100],
Support => 0,
);

The key is queue name or "Default", which is the fallback for unspecified
queues. Values can be an ArrayRef, HashRef, or C<0>.
queues. Values can be an HashRef, ArrayRef, or C<0>.

=over

=item ArrayRef

This is the ordered String => Number map list. Priority options will be
rendered in the order they are listed in the list.

=item HashRef

This is the unordered String => Number map list. Priority options will be
rendered in numerical ascending order.

=item ArrayRef

This is the ordered String => Number map list. Priority options will be
rendered in the order they are listed in the list.

=item C<0>

Priority is rendered as a number.
Expand Down