Bug 7022

Summary: All layers page: sorting does not reset if sorted column is removed
Product: [Build System, Metadata & Runtime] Toaster Reporter: Mihail Stanciu <stanciux.mihail>
Component: toasterAssignee: Michael Wood <michael.g.wood>
Status: VERIFIED DUPLICATE QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium CC: alexandru.costinx.roman, alexandru.damian, belen.barros.pena, cristiana.voicu
Version: 1.8   
Target Milestone: 1.8   
Hardware: x86   
OS: Multiple   
Whiteboard: all layers page
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mihail Stanciu 2014-12-03 14:19:15 UTC
Version tested: master/a862bf045109d213c301121961bd8d389e48b13d


Steps to reproduce:

1. Start toaster.
2. Create new project.
3. Navigate to the "All layers" page
4. By default, table is sorted by "Layer". Sort instead by "Layer source".
5. In the "Edit columns" menu, deselect "Layer source".

Expected result:
Table should reset to being sorted by "Layer". If "Layer source" is added back, sorting should remain by "Layer"

Observed result:
Table sorting does not reset. When adding back "Layer source" table remains sorted by "Layer source".

Older pages, such as Packages, do not exhibit this behaviour.
Comment 1 Mihail Stanciu 2014-12-03 15:27:06 UTC
Issue is also present on "All targets" page.
Comment 2 Alexandru Damian 2015-01-21 13:02:04 UTC
Pushed for review on 

poky-contrib:adamian/20150119-fixes
Comment 3 Alexandru Damian 2015-01-23 17:43:27 UTC
Merged into master.
Comment 4 Alexandru Roman 2015-11-24 14:26:15 UTC
Verified.

*** This bug has been marked as a duplicate of bug 7198 ***