X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/93f51d6216763896c85506cb815a9acbd653d4d5..3ce13f69f98665e51f3e9d49df4a6255705d59ac:/SL/Controller/Helper/Sorted.pm diff --git a/SL/Controller/Helper/Sorted.pm b/SL/Controller/Helper/Sorted.pm index 4afae9d79..d8d333533 100644 --- a/SL/Controller/Helper/Sorted.pm +++ b/SL/Controller/Helper/Sorted.pm @@ -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. 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 Optional. The name of a Rose database model this sort index refers