From 8881f799c3fe4238651d9bdd1d7d1cb31ef01a27 Mon Sep 17 00:00:00 2001 From: Cris Date: Wed, 16 Oct 2019 14:53:49 +0200 Subject: [PATCH] Adapted filter select-all to select also geaenderte Lehrauftraege --- application/views/lehre/lehrauftrag/orderLehrauftrag.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/views/lehre/lehrauftrag/orderLehrauftrag.php b/application/views/lehre/lehrauftrag/orderLehrauftrag.php index 5803d297d..6cf57e312 100644 --- a/application/views/lehre/lehrauftrag/orderLehrauftrag.php +++ b/application/views/lehre/lehrauftrag/orderLehrauftrag.php @@ -385,7 +385,9 @@ $(function() { // Select all (filtered) rows and ignore rows which have status bestellt $("#select-all").click(function(){ $('#filterTabulator').tabulator('getRows', true) - .filter(row => row.getData().bestellt == null) + .filter(row => row.getData().bestellt == null || // neu + row.getData().bestellt != null && // OR bestellt + row.getData().betrag != row.getData().vertrag_betrag) // AND geaendert .forEach((row => row.select())); });