<?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>6056</bug_id>
          
          <creation_ts>2014-03-27 11:01:01 +0000</creation_ts>
          <short_desc>Sorting by &quot;Variable&quot; in the BitBake variables table is not working as expected</short_desc>
          <delta_ts>2014-04-03 14:41:17 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>41825</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-03-27 11:01:01 +0000</bug_when>
    <thetext>To reproduce, click on the &quot;Variable&quot; heading to sort in descending alphabetical order. Lower case and upper case variables are sorted independently from each other, with lower case variables coming above the upper case ones in the descending order. 

Is the sorting case sensitive? If it is, I don&apos;t think it should be.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41877</commentid>
    <comment_count>1</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2014-03-27 17:39:27 +0000</bug_when>
    <thetext>As near as I can tell, there is no way from Django to modify the sorting defaults for the &quot;orderby&quot; operator. I do not see how this can be fixed without resorting to custom sorting. 

The Django documentation specifically states: &quot;There’s no way to specify whether ordering should be case sensitive. With respect to case-sensitivity, Django will order results however your database backend normally orders them.&quot; (https://docs.djangoproject.com/en/dev/ref/models/querysets)

A custom sort would have to be executed before the paginator. Since the paginator instantiates the entire table anyway, there is no change in overhead in that respect. We would just not get the sorting efficiency of the database since our code would be in Python, but the data set is not that huge.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42234</commentid>
    <comment_count>2</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-04-03 14:41:17 +0000</bug_when>
    <thetext>This is a very minor thing, and the fix seems quite a lot of work, so marking as won&apos;t fix as per our last conversation during the weekly call.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>