]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Presenter/RequirementSpecItem.pm
Standardstundensatz in Tabelle defaults speichern, nicht in Konfigurationsdatei
[mfinanz.git] / SL / Presenter / RequirementSpecItem.pm
index f1c30bb50d88ab93689df3b282a17b41a38d289c..c62032517396285bc44823e0822cb81410ec4f06 100644 (file)
@@ -12,13 +12,13 @@ use Carp;
 sub requirement_spec_item_tree_node_title {
   my ($self, $item) = @_;
 
-  return join(' ', map { $_ || '' } ($item->fb_number, $self->truncate($item->parent_id ? $item->description : $item->title, at => 30), '<' . $item->id . '>'));
+  return join(' ', map { $_ || '' } ($item->fb_number, $self->truncate($item->parent_id ? $item->description : $item->title, at => 30)));
 }
 
 sub requirement_spec_item_jstree_data {
   my ($self, $item, %params) = @_;
 
-  my @children = map { $self->requirement_spec_item_jstree_data($_, %params) } @{ $item->sorted_children };
+  my @children = map { $self->requirement_spec_item_jstree_data($_, %params) } @{ $item->children_sorted };
   my $type     = !$item->parent_id ? 'section' : 'function-block';
   my $class    = $type . '-context-menu';
   $class      .= ' flagged' if $item->is_flagged;