code: def view(self, sort=None, purge=False, done=None, undone=None, **kwargs):
          View(self.model.modify(
              sort=self._getPattern(sort),
              purge=purge,
              done=self._getDone(done, undone)
          ), **kwargs)