Giter VIP home page Giter VIP logo

Comments (7)

VadimDez avatar VadimDez commented on June 4, 2024

@Sevensnake need more info, please provide array that you are filtering and filter itself

from ngx-filter-pipe.

uvconnects avatar uvconnects commented on June 4, 2024

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.

uvconnects avatar uvconnects commented on June 4, 2024

I see a problem because I return object, object instead. Not sure how to correct this.

from ngx-filter-pipe.

uvconnects avatar uvconnects commented on June 4, 2024

Here is an example of what I am going through

from ngx-filter-pipe.

uvconnects avatar uvconnects commented on June 4, 2024

http://stackoverflow.com/questions/39563243/angular-2-0-0-final-custom-pipe-filter-returns-object-object

from ngx-filter-pipe.

uvconnects avatar uvconnects commented on June 4, 2024

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.

dearibujar avatar dearibujar commented on June 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.