Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2010
    Location
    Wellington, New Zealand
    Posts
    123
    Vote Rating
    5
    zerkms is on a distinguished road

      0  

    Default Filter grid feature is broken for buffered grids

    Filter grid feature is broken for buffered grids


    Ext version tested:
    • Ext 4.1.1 RC2
    Description:
    • If filtered result fetches the store cache completely - the store won't ever request new data, because it assumes all the data fetches the cache and no reason to perform further requests:
    Part of related code from store.js:
    Code:
        prefetchPage: function(page, options) {
            var me = this,
                pageSize = me.pageSize || me.defaultPageSize,
                start = (page - 1) * me.pageSize,
                total = me.totalCount;
    
    
            // No more data to prefetch.
            // (comment from zerkms: this condition will always evaluate to true if result set is small)
            if (total !== undefined && me.getCount() === total) { <------ !!!!
                return;
            }
    
    
            // Copy options into a new object so as not to mutate passed in objects
            me.prefetch(Ext.applyIf({
                page     : page,
                start    : start,
                limit    : pageSize
            }, options));
        },
    Steps to reproduce the problem:
    • Take http://dev.sencha.com/deploy/ext-4.1...ter-local.html
    • Set up server-side part
    • In the grid-filter-local.js change:
      • var local = true; to var local = false;
      • Append buffered: true attribute to the store object (right after `pageSize: 50`)
    • Load the modified example
    • Try to filter by company name
    The result that was expected:
    • The grid should be filtered
    The result that occurs instead:
    • The "Loading..." throbber will spin infinitely and the grid is locked

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      1  

    Default


    The latest code has

    Code:
            if (me.remoteFilter) {
                // adding a filter will almost always change the total count
                delete me.totalCount;
    in the filter method, so this should be fixed.

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2010
    Location
    Wellington, New Zealand
    Posts
    123
    Vote Rating
    5
    zerkms is on a distinguished road

      0  

    Default


    When you say "latest" you mean svn?

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Well, github, but yes, the latest code which is to be released soon.

  5. #5
    Sencha Premium Member
    Join Date
    Apr 2010
    Location
    Wellington, New Zealand
    Posts
    123
    Vote Rating
    5
    zerkms is on a distinguished road

      0  

    Default


    Oh.... We have access to svn, but how can we access sencha's github? ;-)

Thread Participants: 1