diff --git a/ccserver/handlers.py b/ccserver/handlers.py index f9e5fe3d90ba16a298babd2b8a6f10ce3fe5fc06..fc3993f7cb92275bbd4c175b8b49768b4a02e18c 100644 --- a/ccserver/handlers.py +++ b/ccserver/handlers.py @@ -626,15 +626,18 @@ class CliHandler(OnlineCCHandler): return errs.get_dict() @listed - def jobs(self, conn, show_done=True, show_running=True): + def jobs(self, conn, query, show_done=True, show_running=True): ''' Return all jobs. :param show_done: show done jobs :param show_running: show running jobs ''' - props = ('id', 'status', 'created', 'ended', - 'duration', 'done', 'author') + + if query: + raise NotImplementedError('Tql in jobs is not yet supported.') + props = ('id', 'author', 'created', 'ended', + 'duration', 'done', 'title', 'status') jobs = [] for job in self._server.jobs.iterjobs(show_done, show_running):