"use strict"

const   mongoose = require('mongoose'),
    Article = require('../../models/Article');

module.exports = (callback, res) => {

  let data = {}

  Article.find()
    .sort({'date': -1})
    .limit(20)
    .exec((err, articles)=>{
      if (err) console.log(err)

      if (!articles) {
        res.status(204).send({data: null})
      } else {
        callback(articles);
      } //end else
  }) // end find

}




@@ -168,16 +168,56 @@
 .find()%0A
+    .where(%7B 'concepts': %7B $ne: %5B%5D %7D %7D)%0A
     .sor

change recent article query to ignore articles that don't have concept maps available