Bug 7026

Summary: All layers page: Sorting does not work
Product: [Build System, Metadata & Runtime] Toaster Reporter: Mihail Stanciu <stanciux.mihail>
Component: toasterAssignee: Michael Wood <michael.g.wood>
Status: VERIFIED FIXED QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bogdanx.a.voiculescu, cristiana.voicu, cristina-danielax.agurida
Version: 1.8   
Target Milestone: 1.9 M1   
Hardware: x86   
OS: Multiple   
Whiteboard: all layers page
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: Done (doc changes complete)
Attachments:
Description Flags
default sort outcome
none
reverse sort outcome
none
sorting-not-working.png none

Description Mihail Stanciu 2014-12-03 15:22:56 UTC
Created attachment 2279 [details]
default sort outcome

Tested on master/a862bf045109d213c301121961bd8d389e48b13d

Steps to reproduce:

1. Start toaster
2. Create new project
3. Navigate to "All layers" page
4. Noticed that default sorting is done by "Layer" column.
   Noticed that the default order of entries is:
            - meta-yocto-bsp
            - openembedded-core
            - meta-yocto
   Noticed that does not seem to be alphabetical order.
5. Click on "Layer" column head to reorder the tables in reverse alphabetical order by layer name.

Expected result:
Table should be in alphabetical order by default, and clicking on the table head should rearrange it in reverse alphabetical order.

Observed result:
Default sorting is not alphabetical. Reverse sorting does not change order of entries in table.

Bug is present only on "All layers" page.
See attached screenshots.
Comment 1 Mihail Stanciu 2014-12-03 15:23:23 UTC
Created attachment 2280 [details]
reverse sort outcome
Comment 2 Alexandru Damian 2015-02-09 18:10:34 UTC
Cannot reproduce at master:870323cac1e40e8f95ea7bd6f425a85dcfbab612
Comment 3 Belen Barros Pena 2015-02-11 11:35:16 UTC
This is not working for me on master:231d4a9d3d89af4b1b5f6ea439c630e4cac82079

See attached screenshot sorting-not-working.png

In it, meta-aarch64 should be the first layer on the table, but it is almost at the bottom.
Comment 4 Belen Barros Pena 2015-02-11 11:35:43 UTC
Created attachment 2406 [details]
sorting-not-working.png
Comment 5 Alexandru Georgescu 2015-04-09 15:36:22 UTC
found during 1.8_M4.rc2 testing
fido:33558eacc8a2d3dce3396b9ab2fd0773ac5076bc
Comment 6 Michael Wood 2015-06-12 13:43:21 UTC
This should now be fixed by the porting of this table to ToasterTables

23f5b009e0ebf59cfcc9ae90a1084468fc88e42f
Comment 7 Cristina Agurida 2015-08-07 09:28:49 UTC
Verified on master: 22078d5e533e59a9aa6999abefbf6ece4e01de8d