You found a bug! We've classified it as EXTJS-9152 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    22
    Vote Rating
    2
    vot is on a distinguished road

      0  

    Default [EXT 4.1.1a] sorters are added to operation even when remoteSort is set to FALSE.

    [EXT 4.1.1a] sorters are added to operation even when remoteSort is set to FALSE.


    The stores sorters are added to the operation in Ext.data.AbstractStore::load even if remoteSort = false, thus they are always submitted with a proxy request.

    Code:
    new Ext.data.Store({
        fields     : ['foo'],
        autoLoad   : true,
        remoteSort : false,
        proxy      : {
            type : 'ajax',
            url  : 'data/json.json'
        },
        sorters    : [
            { property : 'foo', direction : 'DESC' }
        ]
    });
    Last edited by mitchellsimoens; 15 Mar 2013 at 8:26 AM. Reason: added test

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Vote Rating
    846
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Tags for this Thread