def getDone(self, done):
        """
            :desc: Fetches a list of all the done ToDs
            :param bool done: done or undone?
            :returns: A list of matching IDs
            :rval: list
        """

        doneItems = self.noteDB['todo'] \
                        .find({"done": done}) \
                        .sort("date", pymongo.DESCENDING)
        IDs = [ii['ID'] for ii in doneItems]
        return IDs