Bug 7026 - All layers page: Sorting does not work
Summary: All layers page: Sorting does not work
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9 M1
Assignee: Michael Wood
QA Contact: Cristina Agurida
URL:
Whiteboard: all layers page
Depends on:
Blocks:
 
Reported: 2014-12-03 15:22 UTC by Mihail Stanciu
Modified: 2015-08-07 09:28 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: Done (doc changes complete)


Attachments
default sort outcome (64.29 KB, image/jpeg)
2014-12-03 15:22 UTC, Mihail Stanciu
no flags Details
reverse sort outcome (65.00 KB, image/jpeg)
2014-12-03 15:23 UTC, Mihail Stanciu
no flags Details
sorting-not-working.png (886.79 KB, image/png)
2015-02-11 11:35 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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