Allow filtering of projects on title
authorymh <ymh.work@gmail.com>
Wed, 16 Jan 2013 05:33:45 +0100
changeset 1066 2a37cb682d58
parent 1065 1bee39cbd1ea
child 1067 62be1eedf908
Allow filtering of projects on title
src/ldt/ldt/api/ldt/resources/project.py
--- a/src/ldt/ldt/api/ldt/resources/project.py	Wed Jan 16 05:09:22 2013 +0100
+++ b/src/ldt/ldt/api/ldt/resources/project.py	Wed Jan 16 05:33:45 2013 +0100
@@ -25,7 +25,8 @@
         serializer = CinelabSerializer()
         filtering = {
             'state' : ALL,
-            'ldt_id' : ALL
+            'ldt_id' : ALL,
+            'title' : ALL
         }
         # In the future version :
         # detail_uri_name = 'ldt_id'