Verkaufspreisinformationen: Preisentwicklung der Stammdaten anzeigen
[kivitendo-erp.git] / SL / DB / Manager / PartsPriceHistory.pm
index 34cd4dc..6cc14ca 100644 (file)
@@ -4,8 +4,20 @@ use strict;
 
 use parent qw(SL::DB::Helper::Manager);
 
+use SL::DB::Helper::Sorted;
+use SL::DB::Helper::Paginated;
+
 sub object_class { 'SL::DB::PartsPriceHistory' }
 
 __PACKAGE__->make_manager_methods;
 
+sub _sort_spec {
+  (
+    default  => [ 'valid_from', 0 ],
+    columns  => {
+      SIMPLE => 'ALL',
+    },
+  );
+}
+
 1;