[Patchew-devel] [PATCH] fix version on message page

Paolo Bonzini posted 1 patch 4 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew-ci tags/patchew/20210518081506.95678-1-pbonzini@redhat.com
www/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

[Patchew-devel] [PATCH] fix version on message page

Posted by Paolo Bonzini 4 months, 1 week ago
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 www/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/views.py b/www/views.py
index 6c29083..e20aa91 100644
--- a/www/views.py
+++ b/www/views.py
@@ -356,7 +356,7 @@ def view_series_message(request, project, thread_id, message_id):
         subject=m.subject,
         stripped_subject=s.stripped_subject,
         has_other_revisions=series.has_other_revisions,
-        version=m.version,
+        version=s.version,
         message_id=m.message_id,
         series=series,
         is_cover_letter=False,
-- 
2.31.1

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/patchew-devel

Re: [Patchew-devel] [PATCH] fix version on message page

Posted by Fam Zheng (euphon) 4 months, 1 week ago

> On 18 May 2021, at 09:15, Paolo Bonzini <pbonzini@redhat.com> wrote:
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> www/views.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/www/views.py b/www/views.py
> index 6c29083..e20aa91 100644
> --- a/www/views.py
> +++ b/www/views.py
> @@ -356,7 +356,7 @@ def view_series_message(request, project, thread_id, message_id):
>         subject=m.subject,
>         stripped_subject=s.stripped_subject,
>         has_other_revisions=series.has_other_revisions,
> -        version=m.version,
> +        version=s.version,
>         message_id=m.message_id,
>         series=series,
>         is_cover_letter=False,
> -- 
> 2.31.1
> 
> _______________________________________________
> Patchew-devel mailing list
> Patchew-devel@redhat.com
> https://listman.redhat.com/mailman/listinfo/patchew-devel
> 


Reviewed-by: Fam Zheng <fam@euphon.net>


_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/patchew-devel