Comments (7)
@Sevensnake need more info, please provide array
that you are filtering and filter
itself
from ngx-filter-pipe.
ok I did a simple one and it worked but maybe it is my data. take a look.
[{"ID":2,"TeamID":4,"FirstName":"hrad","LastName":"erts","PhoneNumber":"211333","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":"GA","Zip":"","Name":"Rorts Brad"},{"ID":3,"TeamID":3,"FirstName":"David","LastName":"Delaney","PhoneNumber":"42611333","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":"GA","Zip":"","Name":"Delaney David"},{"ID":4,"TeamID":4,"FirstName":"Tim","LastName":"Dod","PhoneNumber":"401333","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":null,"Zip":"","Name":"Dod Tim"},{"ID":5,"TeamID":5,"FirstName":"David","LastName":"Greene","PhoneNumber":"40611333","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":"GA","Zip":"","Name":"Ge Dad"},{"RelationshipManagerID":6,"TeamID":5,"FirstName":"Cig Elliott","LastName":"Savage","PhoneNumber":"4011333","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":"GA","Zip":"","Name":"Savaig Elliott"},{"ID":7,"TeamID":5,"FirstName":"Shan","LastName":"Srivatsaa","PhoneNumber":"40333","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":"GA","Zip":"","Name":"Stsaa Sharan"},{"ID":8,"TeamID":5,"FirstName":"John","LastName":"Pitt","PhoneNumber":"4011333","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":"GA","Zip":"","Name":"Pitt John"},{"ID":9,"TeamID":6,"FirstName":"Robert","LastName":"Douglas","PhoneNumber":"4026133","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":"GA","Zip":"","Name":"Douglas Robert"},{"ID":11,"TeamID":8,"FirstName":"Troy","LastName":"Saldivar","PhoneNumber":"7135619300","Mobile":"","EmailAddress":"[email protected]","Address1":"55n Felipe Road","Address2":"","City":"Houston","State":"TX","Zip":"772701","Name":"Saldivar Troy"},{"RelationshipManagerID":12,"TeamID":9,"FirstName":"James","LastName":"Shelton","PhoneNumber":"9995619300","Mobile":"","EmailAddress":"[email protected]","Address1":"5555 San Felipe Blvd","Address2":"","City":"Houston","State":"TX","Zip":"77701","Name":"Sheltames"},{"ID":13,"TeamID":10,"FirstName":"x","LastName":"x","PhoneNumber":"3376921","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":null,"Zip":"","Name":"x x"},{"ID":15,"TeamID":12,"FirstName":"Tripps Moog","LastName":"Knch Kloberdanz","PhoneNumber":"403001","Mobile":"","EmailAddress":"krundanz@credsuissom","Address1":"","Address2":"","City":"","State":null,"Zip":"","Name":"Krudoog"},{"ID":16,"TeamID":13,"FirstName":"Alice","LastName":"Wu","PhoneNumber":"41492287","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"San Francisco","State":"CA","Zip":"","Name":"ice"},{"ID":17,"TeamID":14,"FirstName":"Joel","LastName":"Shtt","PhoneNumber":"7h619345","Mobile":"","EmailAddress":"hcoanahom","Address1":"","Address2":"","City":"","State":null,"Zip":"","Name":"Scott Joel"},{"ID":18,"TeamID":15,"FirstName":"Corpening","LastName":"Group","PhoneNumber":"33646921","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":null,"Zip":"","Name":"Group Corpening"},{"ID":20,"TeamID":16,"FirstName":"John","LastName":"Desa","PhoneNumber":"27138364","Mobile":"","EmailAddress":"ddlavubs.com","Address1":"","Address2":"","City":"","State":null,"Zip":"","Name":"Ddsa John"},{"ID":21,"TeamID":17,"FirstName":"Kyle","LastName":"Zenner","PhoneNumber":"0000000000","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"Houston","State":"TX","Zip":"","Name":"Zenner Kyle"},{"ID":22,"TeamID":18,"FirstName":"BrydSpaks","LastName":"Bdn/Spry/Zaks","PhoneNumber":"337246921","Mobile":"","EmailAddress":"","Address1":"","Address2":"","City":"","State":"CA","Zip":"","Name":"Badaks"}]
from ngx-filter-pipe.
I see a problem because I return object, object instead. Not sure how to correct this.
from ngx-filter-pipe.
Here is an example of what I am going through
from ngx-filter-pipe.
from ngx-filter-pipe.
Never mind I figured it out. I was returning objects. So I had to do a Json parse and do a string replace to return the correct value.
from ngx-filter-pipe.
Hey i got the same issue how did you figure it out? What do you mean with string replace and why did you json parse an object?
from ngx-filter-pipe.
Related Issues (20)
- How to return Nested null objects
- How do I filter by more than one field HOT 2
- <select> value 0 is not filtering underlying table
- Impossible to use in Angular 16 HOT 3
- Checking for empty return values HOT 1
- Filtering Array with null Nested Objects
- I am getting "The pipe 'filterBy' could not be found" HOT 3
- Select nothing instead of all when $or list is empty
- Use filter with Date HOT 2
- Pipe perfomance issue HOT 1
- Any chance an $and can be implemented?
- Filter by regex
- Application gets stuck each time.
- Upgrade to Angular 8
- possibility to have pure pipe for performance issues
- Angular 7.1.2 Build: Function calls are not supported in decorators but 'ɵmakeDecorator' was called in 'NgModule'
- An in-range update of ts-node is breaking the build 🚨 HOT 6
- How can i return full name by concatenating first name and last name.
- An in-range update of core-js is breaking the build 🚨 HOT 5
- An in-range update of @types/node is breaking the build 🚨 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-filter-pipe.