Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search API Endpoint does not return edited backs #339

Open
alanlgirard opened this issue Mar 9, 2016 · 0 comments
Open

Search API Endpoint does not return edited backs #339

alanlgirard opened this issue Mar 9, 2016 · 0 comments
Labels
Milestone

Comments

@alanlgirard
Copy link
Collaborator

The search api endpoint does not return a users backs once they have been edited. Example from production below.

    {
      "text": "",
      "authorId": "56d85d8ec9274c7511b7a4e0",
      "timeCreated": "2016-03-03T15:55:21.271Z",
      "timeModified": "",
      "types": [
        {
          "name": "Knowledge",
          "_lowername": "knowledge"
        }
      ],
      "_id": "56d85e10a992e7ec2f99d70c",
      "author": {
        "name": "Alan F. Miner",
        "mail": "[email protected]",
        "username": "afminer"
      }
    },
    {
      "text": "I'd like to join the team",
      "authorId": "56d86575c9274c7511b7a4e1",
      "timeCreated": "2016-03-03T17:23:04.525Z",
      "timeModified": "2016-03-03T17:23:28.206Z",
      "types": [
        {
          "name": "Experience",
          "_lowername": "experience"
        },
        {
          "name": "Time",
          "_lowername": "time"
        },
        {
          "name": "Knowledge",
          "_lowername": "knowledge"
        },
        {
          "name": "Social Network",
          "_lowername": "social-network"
        },
        {
          "name": "How can I help?",
          "_lowername": "how-can-i-help"
        }
      ],
      "_id": "56d872a0a992e7ec2f99d713",
      "author": {
        "name": "NELLY R. GILLMAN",
        "mail": "[email protected]",
        "username": "NRGillma"
      }
    },

http://innovate.ra.rockwell.com/api/v1/ideas/search?forterm=56d85d8ec9274c7511b7a4e0&inpath=backs.authorId returns:

[
  {
    "_id": "56d5f022a992e7ec2f99d6b2",
    "title": "Enhanced Mentoring Program",
    "authorId": "56d5eed3c9274c7511b7a4d3"
  }
]

http://innovate.ra.rockwell.com/api/v1/ideas/search?forterm=56d86575c9274c7511b7a4e1&inpath=backs.authorId returns:

[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants