Skip to content
Snippets Groups Projects
Commit 3a9de20c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

dead code removed

parent 6e69e789
No related branches found
No related tags found
1 merge request!35performance on appointment list
...@@ -51,14 +51,6 @@ def appointments(request, type): ...@@ -51,14 +51,6 @@ def appointments(request, type):
if min_date is not None: if min_date is not None:
length = 1000000000 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) all_appointments = get_appointments(request, type, min_date, max_date)
count = all_appointments.count() count = all_appointments.count()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment