title: Node/Express Route 'Show' presenting too many results
body: <p>This is for the backend of a MEAN site.</p>
  
  <p>I am currently trying to create several search functions based off of different params in the same mongoose model. For the Controller I have </p>
  
  <pre><code>show:(req,res) =&gt; {
          Activity.findById
          ({_id: req.params._id}).then(activity =&gt; {
              res.json(activity)
          })
          .then(console.log(req.query._id))
      },
  
      show: async (req, res, next) =&gt; {
  
          const linkClicked = await Activity.find
          ({linkClicked: req.params.linkClicked})
          .then(result =&gt; {
              res.send(result)
  
          })
          .then(next())
          .catch(err =&gt; (console.log(err)))
      },
      show:(req,res, next) =&gt; {
          Activity.find({caseAssigned: req.params.caseAssigned}).then(action =&gt; {
              res.json(action)
              next()
          })
          .catch(err =&gt; (console.log(err)))
      },
      show:(req,res, next) =&gt; {
          Activity.find({addedToQue: req.params.addedToQue}).then(activity =&gt; {
              res.json(activity)
              next()
          })
          .catch(err =&gt;(console.log(err)))
      },
      show:(req, res, next) =&gt; {
          Activity.find({statusChanged: req.params.statusChanged}).then(activity =&gt; {
              res.json(activity)
              next()
          })
          .catch(err =&gt; (console.log(err)))
      },
  show:(req,res) =&gt; {
          Activity.findById
          ({_id: req.params._id}).then(activity =&gt; {
              res.json(activity)
          })
          .then(console.log(req.query._id))
      },
  
      show: async (req, res, next) =&gt; {
  
          const linkClicked = await Activity.find
          ({linkClicked: req.params.linkClicked})
          .then(result =&gt; {
              res.send(result)
  
          })
          .then(next())
          .catch(err =&gt; (console.log(err)))
      },
      show:(req,res, next) =&gt; {
          Activity.find({caseAssigned: req.params.caseAssigned}).then(action =&gt; {
              res.json(action)
              next()
          })
          .catch(err =&gt; (console.log(err)))
      },
      show:(req,res, next) =&gt; {
          Activity.find({addedToQue: req.params.addedToQue}).then(activity =&gt; {
              res.json(activity)
              next()
          })
          .catch(err =&gt;(console.log(err)))
      },
      show:(req, res, next) =&gt; {
          Activity.find({statusChanged: req.params.statusChanged}).then(activity =&gt; {
              res.json(activity)
              next()
          })
          .catch(err =&gt; (console.log(err)))
      },
  </code></pre>
  
  <p>For the routes I have: </p>
  
  <pre><code>const express = require('express');
  const controllerRouter = express.Router();
  const activityController = require("../controllers/activity")
  
  controllerRouter.get("/", activityController.index)
  // controllerRouter.get("/search/:_id", activityController.show)
  
  controllerRouter.get("/event/:linkClicked/linkClicked/", activityController.show)
  controllerRouter.get("/event/caseAssigned/:caseAssigned", activityController.show)
  controllerRouter.get("/event/addedToQue/:addedToQue", activityController.show)
  controllerRouter.get("/event/statusChanged/:statusChanged", activityController.show)
  </code></pre>
  
  <p>When I search in postman for /event/true/linkClicked I receive JSON that does not have linkClicked:true. </p>
  
  <p>Solutions I have tried: 
  1) I tried implementing the next() function in my controller and adding async capability. I'm not sure if I implemented this correctly. I've made sure that my JSON data is accurate. </p>
  
  <p>Any help is appreciated. (Also, this is my first post so if I have left out a necessary detail, please, let me know.) </p>