]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Controller/Helper/Sorted.pm
DeliveryPlan-Controller auf Sorted-Controller-Helper umstellen
[kivitendo-erp.git] / SL / Controller / Helper / Sorted.pm
index 4afae9d79f34ab2ff15a96392df339a230c3b240..d8d3335334910081cab2ae430c10acf99b57afc6 100644 (file)
@@ -12,7 +12,7 @@ my $controller_sort_spec;
 sub make_sorted {
   my ($class, %specs) = @_;
 
-  $specs{MODEL} ||=  $class->_controller_name;
+  $specs{MODEL} ||=  $class->controller_name;
   $specs{MODEL}   =~ s{ ^ SL::DB:: (?: .* :: )? }{}x;
 
   while (my ($column, $spec) = each %specs) {
@@ -277,6 +277,9 @@ Required. A user-displayable title to be used by functions like the
 layout helper's C<sortable_table_header>. Does not have a default
 value.
 
+Note that this string must be the untranslated English version of the
+string. The titles will be translated whenever they're requested.
+
 =item * C<model>
 
 Optional. The name of a Rose database model this sort index refers