diff --git a/smash/web/api_views/appointment.py b/smash/web/api_views/appointment.py
index d4f930ae414db7215e6e61234b98e203981825e1..a31bb9f13dc84481e4c782a0d7c57f518e4cdeac 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()