[Bps-public-commit] r14248 - in sd/trunk/lib/App/SD: CLI/Command/Ticket

jesse at bestpractical.com jesse at bestpractical.com
Thu Jul 17 23:03:38 EDT 2008


Author: jesse
Date: Thu Jul 17 23:03:38 2008
New Revision: 14248

Modified:
   sd/trunk/lib/App/SD/CLI/Command/Ticket/Details.pm
   sd/trunk/lib/App/SD/Model/Ticket.pm

Log:
* tiny tweaks as I start messing with formatting

Modified: sd/trunk/lib/App/SD/CLI/Command/Ticket/Details.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command/Ticket/Details.pm	(original)
+++ sd/trunk/lib/App/SD/CLI/Command/Ticket/Details.pm	Thu Jul 17 23:03:38 2008
@@ -12,6 +12,7 @@
     print "\n=head1 ATTACHMENTS\n\n";
     my $attachments = App::SD::Collection::Attachment->new(
         handle => $self->app_handle->handle,
+        app_handle => $self->app_handle,
     );
     $attachments->matching(sub {
         shift->prop('ticket') eq $self->uuid ? 1 : 0;

Modified: sd/trunk/lib/App/SD/Model/Ticket.pm
==============================================================================
--- sd/trunk/lib/App/SD/Model/Ticket.pm	(original)
+++ sd/trunk/lib/App/SD/Model/Ticket.pm	Thu Jul 17 23:03:38 2008
@@ -8,13 +8,13 @@
 use constant record_type => 'ticket';
 
 sub summary_props {
-    #my @data = split(/\s+/, shift->handle->config('ticket_summary_props') || 'status summary');
+    #my @data = split(/\s+/, shift->app_handle->config('ticket_summary_props') || 'status summary');
     my @data = split(/\s+/, 'summary status');
     return @data;
 
 }
 sub summary_format {
-    #return shift->handle->config('ticket_summary_format')|| '%l %-7.7s %-60.60s';
+    #return shift->app_handle->config('ticket_summary_format')|| '%4l %-11.11s %-60.60s';
             return '%l %s %s';
 }
 



More information about the Bps-public-commit mailing list