diff --git a/application/views/lehre/lehrauftrag/orderLehrauftrag.php b/application/views/lehre/lehrauftrag/orderLehrauftrag.php
index 12f5c25d0..04f7391ce 100644
--- a/application/views/lehre/lehrauftrag/orderLehrauftrag.php
+++ b/application/views/lehre/lehrauftrag/orderLehrauftrag.php
@@ -187,13 +187,14 @@ $this->load->view(
-
-
-
-
+
-
+
+
+
+
+
diff --git a/public/js/lehre/lehrauftrag/orderLehrauftrag.js b/public/js/lehre/lehrauftrag/orderLehrauftrag.js
index 3356972f0..847a863f8 100644
--- a/public/js/lehre/lehrauftrag/orderLehrauftrag.js
+++ b/public/js/lehre/lehrauftrag/orderLehrauftrag.js
@@ -565,6 +565,23 @@ $(function () {
$("#tableWidgetTabulator").tabulator("clearFilter");
});
+ // Show all rows
+ $("#show-newAndChanged").click(function () {
+ $("#tableWidgetTabulator").tabulator("setFilter", [
+ [
+ { field: "personalnummer", type: ">", value: 0 }, // not dummy
+ { field: "personalnummer", type: "=", value: null }, // include projektbetreuer
+ ],
+ { field: "mitarbeiter_uid", type: "!=", value: null }, // AND is Mitarbeiter
+ { field: "stunden", type: "!=", value: null }, // AND has Semesterstunden (not null and not 0)
+ { field: "stunden", type: "!=", value: 0 },
+ [
+ { field: "status", type: "=", value: "Neu" }, // AND neu
+ { field: "status", type: "=", value: "GeƤndert" }, // OR geaendert
+ ],
+ ]);
+ });
+
// Show only rows with new lehrauftraege (not dummy lectors or external projektbetreuer; stunden not 0 or null)
$("#show-new").click(function () {
$("#tableWidgetTabulator").tabulator("setFilter", [
diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php
index 5e2145676..9615a06c0 100644
--- a/system/phrasesupdate.php
+++ b/system/phrasesupdate.php
@@ -5900,6 +5900,26 @@ The invoice will be sent to you again. The amount is only to be trans
)
)
),
+ array(
+ 'app' => 'core',
+ 'category' => 'ui',
+ 'phrase' => 'neuUndGeaenderteAnzeigen',
+ 'insertvon' => 'system',
+ 'phrases' => array(
+ array(
+ 'sprache' => 'German',
+ 'text' => 'Neue und geƤnderte anzeigen',
+ 'description' => '',
+ 'insertvon' => 'system'
+ ),
+ array(
+ 'sprache' => 'English',
+ 'text' => 'Show new and changed',
+ 'description' => '',
+ 'insertvon' => 'system'
+ )
+ )
+ ),
array(
'app' => 'core',
'category' => 'ui',