Merge lp:~milo/linaro-patchmetrics/bug959567 into lp:linaro-patchmetrics

Proposed by Milo Casagrande
Status: Merged
Approved by: Paul Sokolovsky
Approved revision: 378
Merged at revision: 378
Proposed branch: lp:~milo/linaro-patchmetrics/bug959567
Merge into: lp:linaro-patchmetrics
Diff against target: 13 lines (+2/-1)
1 file modified
apps/patchwork/ (+2/-1)
To merge this branch: bzr merge lp:~milo/linaro-patchmetrics/bug959567
Reviewer Review Type Date Requested Status
Paul Sokolovsky Approve
Georgy Redkozubov Pending
Linaro Automation & Validation Pending
Review via email:

Description of the change

Very simple change to make the drop-down list to move a patch in another project, sorted by project names.

To post a comment you must log in.
Revision history for this message
Milo Casagrande (milo) wrote :

This was tested on the staging instance, and also locally.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Looks good sure.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'apps/patchwork/'
--- apps/patchwork/ 2011-06-08 13:43:47 +0000
+++ apps/patchwork/ 2013-09-17 07:16:46 +0000
@@ -234,7 +234,8 @@
235class MassPatchMovingForm(forms.Form):235class MassPatchMovingForm(forms.Form):
236 actions = ['move']236 actions = ['move']
237 new_project = forms.ModelChoiceField(queryset=Project.objects.all())237 new_project = forms.ModelChoiceField(
238 queryset=Project.objects.order_by('name'))
239 def process(self, patches):240 def process(self, patches):
240 if not self.is_valid():241 if not self.is_valid():


People subscribed via source and target branches