Bug 9836 - Project builds table and Software Recipes: Sorting does not reset to default when hiding column that is currently being used as the sorting criteria
Summary: Project builds table and Software Recipes: Sorting does not reset to default ...
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.2 M3
Assignee: Elliot Smith
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-06-28 15:31 UTC by Libertad
Modified: 2016-08-22 10:59 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Libertad 2016-06-28 15:31:22 UTC
DESCRIPTION:
When hiding the column that is currently used as the sorting criteria the table does not reset to the default sorting column.

BUILD: 2.2_M1.rc2: 6f0c5537e02c59e1c8f3b08f598dc049ff8ee098
ENVIRONMENT: Debian 4.3.0-0.bpo.1-amd64
STEPS TO REPRODUCE: 
1.  Access a project page, either by creating a new project or accessing an existing project from the "All builds" table.

2. Click on the "View all project builds" link situated below the top-most "Build" button and text field, next to the "View all targets" link

3. Sort table by a column other than default.

4. Hide column chosen on step 3. Verify that hiding a column that is currently being used as the sorting criteria causes the sorting to reset to the default - i.e "Completed on" in descending order.

4. Go to Compatible software recipes table and repeat step 3-4

EXPECTED OUTCOME: 
When hiding the column active as the sorting criteria it should reset to default column
Comment 1 Belen Barros Pena 2016-07-04 11:18:39 UTC
I can reproduce the problem in the 'project builds' and the 'all builds' tables, but not in the 'software recipes' one (on master:5c11e365e19357f721c49d076971567e7b64b61b)