From 3a9de20cbf86e8acd2a54692a80aa7399426ed89 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Mon, 3 Apr 2017 18:16:51 +0200 Subject: [PATCH] dead code removed --- smash/web/api_views/appointment.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/smash/web/api_views/appointment.py b/smash/web/api_views/appointment.py index d4f930ae..a31bb9f1 100644 --- a/smash/web/api_views/appointment.py +++ b/smash/web/api_views/appointment.py @@ -51,14 +51,6 @@ def appointments(request, type): if min_date is not None: length = 1000000000 - filters = [] - column_id = 0 - while request.GET.get("columns[" + str(column_id) + "][search][value]", "unknown") != "unknown": - val = request.GET.get("columns[" + str(column_id) + "][search][value]", "unknown") - if val != "": - filters.append([request.GET.get("columns[" + str(column_id) + "][data]"), val]) - column_id += 1 - all_appointments = get_appointments(request, type, min_date, max_date) count = all_appointments.count() -- GitLab