Bug 7125

Summary: Hiding a sorted column does not revert to default sorting
Product: [Build System, Metadata & Runtime] Toaster Reporter: Mihail Stanciu <stanciux.mihail>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
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.7.1   
Target Milestone: 1.8 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mihail Stanciu 2015-01-08 10:08:49 UTC
Commit: 1.7.1_RC1: 6dd21a9f152a93e2df1178d7a5bd903d7edcf4be

Steps to reproduce:
1. start toaster in observer mode
2. build core-image-minimal
3. once build completes, enter the build summary page
4. click on "core-image-minimal" in the left-hand menu, under the IMAGES section
5. make sure the "Packages included" section is selected, then from then the "Edit columns" menu make all columns visible
6. note that by default, the sorting is done ascending on the "Package" column
7. click on the "Recipe" column twice, to make it sort descending
8. hide the "Recipe" column from the "Edit columns" menu

Expected behaviour:
Sorting should reset to ascending on "Packages"

Observed behaviour:
Sorting remains descending on the "Recipe" column. If you make "Recipe" visible again, you will notice the arrow indicating this is the sorted column still present


Please note that this happens only in the described location; all other tables are working as intended.
Comment 1 Belen Barros Pena 2015-01-20 16:52:37 UTC
> > Please note that this happens only in the described location; all other
> tables are working as intended.

This is also happening in the all layer page, according to bug 7022.
Comment 2 Alexandru Damian 2015-01-21 13:02:12 UTC
Pushed for review on 

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

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