User search not functioning?

Comments

6 comments

  • Avatar
    Jon Guyer

    Update: by removing the "archived" criteria, the search starts returning data, but disturbingly it now returns anyone who matches EITHER criteria - i.e. firstname Jon or lastname Guyer, so it returns 5 people. This appears to be a big change in functionality...

  • Avatar
    Stewart Polley

    We're aware of some issues with this and are working to get them fixed as we speak. 

  • Avatar
    Jon Guyer

    Thanks, Stewart. 

     
    This may still be in the works, but it appears something has been rolled out - the search without an archived flag now returns the single person I searched for. 
     
    But if I include the archived parameter with any value the call returns "One of the search parameters you used is invalid."
     
    The documentation still seems to say the archived parameter should work, although it says the data type is integer but the value is "yes" or "no".
     
    Thanks,
     
    Jon.
  • Avatar
    Jon Guyer

    Update: Oddly enough, the archived parameter works with the value "yes", but not "no".

  • Avatar
    Jon Guyer

    Update: Without the archived parameter the search still includes archived people, so the functionality still appears to be broken.

  • Avatar
    Stewart Polley

    Hey John,

    We've made some fixes here, but it appears the "deceased = no" and "archived = no" filters are currently not working right, and we've got another fix on it's way for that. Should be live soonish.

    For future reference, and our API Docs need to be updated to reflect this, but I don't recommend doing all three, archived/contact/deceased, at once. 

    Those filters work as follows:

    1. Default (none selected) - Get all people
    2. Contact = Yes - Only Contacts
    3. Archived = Yes - Only Archived
    4. Deceased = Yes - Only Deceased
    5. Contact = No - Only Active people (no archived or deceased)
    6. Archived = No - Only Active and Contacts
    7. Deceased = No - Only Active and Contacts

    If you do one of them, you'll get that one's affects. If you do two or more, you'll get the last one's affect and the other two are ignored.

Please sign in to leave a comment.