projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import of rt 3.0.9
[freeside.git]
/
rt
/
html
/
Elements
/
SelectStatus
diff --git
a/rt/html/Elements/SelectStatus
b/rt/html/Elements/SelectStatus
index
2c1ffad
..
16a5f29
100644
(file)
--- a/
rt/html/Elements/SelectStatus
+++ b/
rt/html/Elements/SelectStatus
@@
-24,6
+24,7
@@
<SELECT NAME ="<%$Name%>">
<OPTION VALUE="">-</OPTION>
%foreach my $status (@status) {
<SELECT NAME ="<%$Name%>">
<OPTION VALUE="">-</OPTION>
%foreach my $status (@status) {
+%next if ($SkipDeleted && $status eq 'deleted');
<OPTION VALUE="<%$status%>" <%($Default eq $status) && 'SELECTED'%>><%loc($status)%></OPTION>
% }
</SELECT>
<OPTION VALUE="<%$status%>" <%($Default eq $status) && 'SELECTED'%>><%loc($status)%></OPTION>
% }
</SELECT>
@@
-34,4
+35,5
@@
my @status = $queue->StatusArray();
<%ARGS>
$Name => undef
$Default => undef
<%ARGS>
$Name => undef
$Default => undef
+$SkipDeleted => 0
</%ARGS>
</%ARGS>