All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Wood <michael.g.wood@intel.com>
To: toaster@yoctoproject.org
Subject: Re: [PATCH] toasterui: set a default order for the software recipes table
Date: Mon, 14 Dec 2015 22:54:34 +0000	[thread overview]
Message-ID: <566F48AA.9000104@intel.com> (raw)
In-Reply-To: <1450091901-36436-1-git-send-email-belen.barros.pena@linux.intel.com>

Thanks, sent upstream & committed to toaster-next

On 14/12/15 11:18, Belen Barros Pena wrote:
> From: Belen Barros Pena <belen.barros.pena@intel.com>
>
> Add default order by recipe name, so that the table content is sorted
> when the page loads.
>
> [YOCTO #8791]
>
> Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
> ---
>   bitbake/lib/toaster/toastergui/tables.py | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
> index 74af507..3808820 100644
> --- a/bitbake/lib/toaster/toastergui/tables.py
> +++ b/bitbake/lib/toaster/toastergui/tables.py
> @@ -561,6 +561,7 @@ class SoftwareRecipesTable(RecipesTable):
>       def __init__(self, *args, **kwargs):
>           super(SoftwareRecipesTable, self).__init__(*args, **kwargs)
>           self.title = "Compatible software recipes"
> +        self.default_orderby = "name"
>   
>       def setup_queryset(self, *args, **kwargs):
>           super(SoftwareRecipesTable, self).setup_queryset(*args, **kwargs)



      reply	other threads:[~2015-12-14 22:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14 11:18 [PATCH] toasterui: set a default order for the software recipes table Belen Barros Pena
2015-12-14 22:54 ` Michael Wood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=566F48AA.9000104@intel.com \
    --to=michael.g.wood@intel.com \
    --cc=toaster@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.