[Toaster] [review-request][PATCH] bitbake: toaster: Fix the orderkey to match the column

Damian, Alexandru alexandru.damian at intel.com
Thu Mar 12 07:48:00 PDT 2015


Can you please create a new patch for the other tables, this patch has
already been submitted.

Alex

On Thu, Mar 12, 2015 at 11:01 AM, Barros Pena, Belen <
belen.barros.pena at intel.com> wrote:

>
> On 11/03/2015 18:59, "Michael Wood" <michael.g.wood at intel.com> wrote:
>
> >If the orderkey doesn't map to the current sort value then when hiding
> >the column the sort doesn't get removed.
>
> This solves the problem for the packages built table only, but this is
> also happening in:
>
> * The packages installed table (/build/<build_id>/target/<target_id>
> * The tasks, time, cpu usage and disk io tables
>
> Any chance the fix could also be applied to those?
>
> Thanks!
>
> Belén
>
> >
> >[YOCTO #7262]
>
> I think you meant 7198
>
> >
> >Signed-off-by: Michael Wood <michael.g.wood at intel.com>
> >---
> > bitbake/lib/toaster/toastergui/views.py | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/bitbake/lib/toaster/toastergui/views.py
> >b/bitbake/lib/toaster/toastergui/views.py
> >index 8034cfc..66a4b77 100755
> >--- a/bitbake/lib/toaster/toastergui/views.py
> >+++ b/bitbake/lib/toaster/toastergui/views.py
> >@@ -1396,7 +1396,7 @@ def bpackage(request, build_id):
> >                 'qhelp':'The Git branch of the layer providing the
> >recipe that builds the package',
> >                 'orderfield': _get_toggle_order(request,
> >"recipe__layer_version__branch"),
> >                 'ordericon':_get_toggle_order_icon(request,
> >"recipe__layer_version__branch"),
> >-                'orderkey' : 'recipe__layer_version__layer__branch',
> >+                'orderkey' : 'recipe__layer_version__branch',
> >                 'clclass': 'recipe__layer_version__branch', 'hidden': 1,
> >             },
> >             {
> >--
> >2.1.0
> >
> >--
> >_______________________________________________
> >toaster mailing list
> >toaster at yoctoproject.org
> >https://lists.yoctoproject.org/listinfo/toaster
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150312/6e9a8c8d/attachment.html>


More information about the toaster mailing list