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
1=== modified file 'apps/patchwork/'
2--- apps/patchwork/ 2011-06-08 13:43:47 +0000
3+++ apps/patchwork/ 2013-09-17 07:16:46 +0000
4@@ -234,7 +234,8 @@
6 class MassPatchMovingForm(forms.Form):
7 actions = ['move']
8- new_project = forms.ModelChoiceField(queryset=Project.objects.all())
9+ new_project = forms.ModelChoiceField(
10+ queryset=Project.objects.order_by('name'))
12 def process(self, patches):
13 if not self.is_valid():


People subscribed via source and target branches