<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9011</bug_id>
          
          <creation_ts>2016-01-28 14:47:28 +0000</creation_ts>
          <short_desc>Default sorting for recipes page not showing properly</short_desc>
          <delta_ts>2016-05-17 15:05:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>2.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Roman">alexandru.costinx.roman</reporter>
          <assigned_to name="Elliot Smith">elliot.smith</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Alexandru Roman">alexandru.costinx.roman</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Unknown (Hard to categorize)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58299</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-01-28 14:47:28 +0000</bug_when>
    <thetext>Appears on 2.1_M.1.RC1: 3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c

Step to reproduce:

1. Enter a project page
2. Go to Image recipes or software recipes
3. Sort the table by layer
4. From Edit columns hide layer column

Expected result:
Revert the sorting to the default sorting (i.e. &quot;Recipe&quot;)

Observed result:
Table is sort by default column but the column is not bold and the arrow is missing.

If you check the layer column again the default sorting remains but the &quot;layer&quot; appears bold.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58332</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-01-29 09:03:41 +0000</bug_when>
    <thetext>This behavior appears also in all project builds table.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59384</commentid>
    <comment_count>2</comment_count>
    <who name="Elliot Smith">elliot.smith</who>
    <bug_when>2016-02-23 14:28:12 +0000</bug_when>
    <thetext>See also bug 7198, which is related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59524</commentid>
    <comment_count>3</comment_count>
    <who name="Elliot Smith">elliot.smith</who>
    <bug_when>2016-02-29 14:39:24 +0000</bug_when>
    <thetext>See also bug 8791, which is related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60471</commentid>
    <comment_count>4</comment_count>
    <who name="Elliot Smith">elliot.smith</who>
    <bug_when>2016-03-29 08:57:29 +0000</bug_when>
    <thetext>Belen tested a previous version of my patches for this, with the following result:

So, tested this across Toaster (if a table is not on the list, it means
the bug doesn&apos;t apply because either only one column is sortable, or
because none of the sortable columns can be hidden using the &apos;edit
columns&apos; menu).

It seems to work in all the tables implemented with ToasterTable

* Image recipes
* Image recipe details (packages included)
* Custom image recipe details (add | remove packages)
* Software recipes
* Machines
* Layers
* All builds
* Project builds

If the scope of the patch is only tables implemented with ToasterTable,
then this is good to go. For the sake of completion, this is working in
the following tables *not* implemented with ToasterTable

* Recipes
* Packages

It doesn&apos;t seem to work in the following tables *not* implemented with
ToasterTable

* Packages included
* Tasks (and by extension Time, CPU time and disk I/O since they are the
same as the tasks table).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60902</commentid>
    <comment_count>5</comment_count>
    <who name="Elliot Smith">elliot.smith</who>
    <bug_when>2016-04-07 13:21:18 +0000</bug_when>
    <thetext>Now fixed for all cases; see https://lists.yoctoproject.org/pipermail/toaster/2016-March/004329.html for review request.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61483</commentid>
    <comment_count>6</comment_count>
    <who name="Elliot Smith">elliot.smith</who>
    <bug_when>2016-04-21 11:06:26 +0000</bug_when>
    <thetext>Now in bitbake master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61488</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-04-21 11:24:07 +0000</bug_when>
    <thetext>I can still reproduce it for All builds table and Project builds table.
Fixed for Image recipes table and Software recipes table.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61555</commentid>
    <comment_count>8</comment_count>
    <who name="Elliot Smith">elliot.smith</who>
    <bug_when>2016-04-22 11:36:09 +0000</bug_when>
    <thetext>Sent another patch to mailing list:
https://lists.yoctoproject.org/pipermail/toaster/2016-April/004490.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61622</commentid>
    <comment_count>9</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-04-25 14:44:09 +0000</bug_when>
    <thetext>Last patch didn&apos;t make it to 2.1, so moving this bug to 2.2M1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61634</commentid>
    <comment_count>10</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-04-25 15:38:04 +0000</bug_when>
    <thetext>*** Bug 7198 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>