diff --git a/application/views/lehre/lehrauftrag/lehrauftrag.php b/application/views/lehre/lehrauftrag/lehrauftrag.php
index 4072cdb84..3362cb048 100644
--- a/application/views/lehre/lehrauftrag/lehrauftrag.php
+++ b/application/views/lehre/lehrauftrag/lehrauftrag.php
@@ -86,6 +86,7 @@ $this->load->view(
+
@@ -151,6 +152,11 @@ $(function() {
$('#filterTabulator').tabulator('setFilter', 'bestellt', '=', null);
});
+ // Show only rows with ordered lehrauftraege
+ $("#show-ordered").click(function(){
+ $('#filterTabulator').tabulator('setFilter', 'bestellt', '!=', null);
+ });
+
// Order Lehrauftraege
$("#order-lehrauftraege").click(function(){