]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Allow filtering by both project ID and linkname v2.0.0-rc2
authorStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 22:25:26 +0000 (23:25 +0100)
committerStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 22:26:16 +0000 (23:26 +0100)
commit08b211519826febcdba7714ffd5d6fa80282a0c2
tree9bb2d54abf684cbe53366842b4709b6592be5798
parent94234eda97ce48ddaa60548c2bebd5261f953502
REST: Allow filtering by both project ID and linkname

In hindsight, it's a bit odd that we would filter project by linkname by
everything else by ID. Simply support both.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: e27b68a ("REST: Filter on Project.linkname - not Project.pk")
patchwork/api/filters.py