summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
Diffstat (limited to 'fml')
-rw-r--r--fml/lib/FML/Ticket/Model/toymodel.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/FML/Ticket/Model/toymodel.pm b/fml/lib/FML/Ticket/Model/toymodel.pm
index 5a2c556c..a803a7d5 100644
--- a/fml/lib/FML/Ticket/Model/toymodel.pm
+++ b/fml/lib/FML/Ticket/Model/toymodel.pm
@@ -303,11 +303,11 @@ sub list_up
my $rh = $self->{ _hash_table };
my $rh_status = $rh->{ _status };
my ($tid, $status) = ();
- my $mode = $args->{ mode } || 'open_only';
+ my $mode = $args->{ mode } || 'default';
TICEKT_LIST:
while (($tid, $status) = each %$rh_status) {
- if ($mode eq 'open_only') {
+ if ($mode eq 'default') {
next TICEKT_LIST if $status =~ /close/o;
}