From df12a9aa5d410025776f37ce301cd94935b11177 Mon Sep 17 00:00:00 2001 From: Cris Date: Mon, 30 Sep 2019 14:25:24 +0200 Subject: [PATCH] Changed button show-accepted to show-approved MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It makes more sense for lectures to show only approved lehraufträge by one click to be then able to accept them. --- .../views/lehre/lehrauftrag/acceptLehrauftrag.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/application/views/lehre/lehrauftrag/acceptLehrauftrag.php b/application/views/lehre/lehrauftrag/acceptLehrauftrag.php index af0b25d30..eb70cad99 100644 --- a/application/views/lehre/lehrauftrag/acceptLehrauftrag.php +++ b/application/views/lehre/lehrauftrag/acceptLehrauftrag.php @@ -68,8 +68,8 @@ $this->load->view(
+ -
@@ -148,11 +148,11 @@ $(function() { }); // Show only rows with akzeptierte lehrauftraege - $("#show-accepted").click(function(){ + $("#show-approved").click(function(){ $('#filterTabulator').tabulator('setFilter', [ - {field: 'bestellt', type: '!=', value: null}, // filter by bestellt must be set - {field: 'erteilt', type: '!=', value: null}, // and erteilt must be set - {field: 'akzeptiert', type: '!=', value: null} // and akzeptiert must be set + {field: 'bestellt', type: '!=', value: null}, // filter when is bestellt + {field: 'erteilt', type: '!=', value: null}, // and is erteilt + {field: 'akzeptiert', type: '=', value: null} // and is not akzeptiert ] ); });