1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    61
    Answers
    3
    Vote Rating
    0
    dishwashwebdesign is on a distinguished road

      0  

    Default Answered: unhappy store filter on integers

    Answered: unhappy store filter on integers


    funny things are happening after the update from sencha 2.0.0 to 2.0.1.
    this store filter did the job nicely when filtering on integer-ids:
    Code:
    itemStore.filter({
               filterFn: function(item) { return item.get("categorytreeid") == categoryId; }
    });
    after the upgrade this doesnt work anymore, no items will be retrieved with this function.

    if filter is set like this:
    Code:
    itemStore.filter('categorytreeid',  categoryId, false, true);
    and value is 1, all items including 1 will be retrieved (10, 11, 121, etc).

    please, any help!
    did the little sencha upgrade messed it up?
    thanks for any hints!

  2. dont worry guys,
    solved it using non-integer ids (1a to how high ever
    then it works just smoothly...

  3. #2
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    61
    Answers
    3
    Vote Rating
    0
    dishwashwebdesign is on a distinguished road

      0  

    Default


    dont worry guys,
    solved it using non-integer ids (1a to how high ever
    then it works just smoothly...

Tags for this Thread