RDBO Update: Tax
[kivitendo-erp.git] / SL / DB / Manager / Project.pm
index f6ff127..56a7e0b 100644 (file)
@@ -27,7 +27,7 @@ __PACKAGE__->add_filter_specs(
   },
   status => sub {
     my ($key, $value, $prefix) = @_;
-    return () if $value eq 'all';
+    return () if $value ne 'orphaned';
     return __PACKAGE__->is_not_used_filter($prefix);
   },
 );
@@ -48,6 +48,7 @@ sub _sort_spec {
       SIMPLE       => 'ALL',
       customer     => 'customer.name',
       project_type => 'project_type.description',
+      project_status => 'project_status.description',
     });
 }