Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date filter is ignored
Message
 
 
À
31/05/2015 02:45:50
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01620266
Message ID:
01620594
Vues:
50
I've discovered that the first part is not correctly working either (I thought it was working). E.g. I have this
 if ($scope.searchTerm.message)
                    {
                        var search = $scope.searchTerm.message;
                        $scope.filteredTransactions = $filter('filter')($scope.filteredTransactions, ({ message: search } || { item: search }));
                    }
but when I type something which is supposed to be found in the item column, it returns an empty array. If I type something which is present in the message, it works.

UPDATE. Got an answer on stackoverflow to apply manual filtering.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform