From 933fcc1dd46b4c7f940dcebc6b7202b6d1e865d2 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Thu, 30 Mar 2017 17:49:49 +0200
Subject: [PATCH] issue with loggin unknown filter params removed

---
 smash/web/api_views.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/smash/web/api_views.py b/smash/web/api_views.py
index e0212873..a6fef53f 100644
--- a/smash/web/api_views.py
+++ b/smash/web/api_views.py
@@ -115,8 +115,11 @@ def get_subjects_filtered(subjects, filters):
             result = result.filter(postponed=(value == "true"))
         elif column == "default_location":
             result = result.filter(default_location=value)
+        elif column == "":
+            pass
         else:
-            print "UNKNOWN filter: " + row
+            print "UNKNOWN filter: "
+            print row
 
     return result
 
-- 
GitLab