[Bps-public-commit] r17676 - in sd/trunk: .
spang at bestpractical.com
spang at bestpractical.com
Fri Jan 9 11:37:59 EST 2009
Author: spang
Date: Fri Jan 9 11:37:59 2009
New Revision: 17676
Modified:
sd/trunk/ (props changed)
sd/trunk/lib/App/SD/CLI/Command/Ticket/Search.pm
Log:
r53468 at loki: spang | 2009-01-09 18:25:09 +0200
don't override sort/group default from config with a passed blank arg
Modified: sd/trunk/lib/App/SD/CLI/Command/Ticket/Search.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command/Ticket/Search.pm (original)
+++ sd/trunk/lib/App/SD/CLI/Command/Ticket/Search.pm Fri Jan 9 11:37:59 2009
@@ -7,7 +7,7 @@
before run => sub {
my $self = shift;
- if ( !$self->has_arg('sort')
+ if ( (!$self->has_arg('sort') || !$self->arg('group'))
&& $self->app_handle->config->get('default_sort_ticket_list') )
{
$self->set_arg(
@@ -15,7 +15,7 @@
);
}
- if ( !$self->has_arg('group')
+ if ( (!$self->has_arg('group') || !$self->arg('group'))
&& $self->app_handle->config->get('default_group_ticket_list') )
{
$self->set_arg( 'group' =>
More information about the Bps-public-commit
mailing list