This allow to get related patches for a given hash. For instance this
could be used to find quickly relevant mail threads while looking at a
single applied patch.

Signed-off-by: Philippe Pepiot <[email protected]>
---
 patchwork/api/filters.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patchwork/api/filters.py b/patchwork/api/filters.py
index 7c7d742..436895d 100644
--- a/patchwork/api/filters.py
+++ b/patchwork/api/filters.py
@@ -59,7 +59,7 @@ class PatchFilter(FilterSet):
     class Meta:
         model = Patch
         fields = ('project', 'series', 'submitter', 'delegate', 'state',
-                  'archived')
+                  'archived', 'hash')
 
 
 class CheckFilter(TimestampMixin, FilterSet):
-- 
2.1.4
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to