diff --git a/invenio_jobs/administration/jobs.py b/invenio_jobs/administration/jobs.py
index 3210551..1811a4d 100644
--- a/invenio_jobs/administration/jobs.py
+++ b/invenio_jobs/administration/jobs.py
@@ -46,9 +46,9 @@ class JobsListView(AdminResourceListView):
"next_run": {"text": _("Next run"), "order": 5, "width": 3},
}
- search_config_name = "RDM_JOBS_SEARCH"
- search_sort_config_name = "RDM_JOBS_SORT_OPTIONS"
- search_facets_config_name = "RDM_JOBS_FACETS"
+ search_config_name = "JOBS_SEARCH"
+ search_sort_config_name = "JOBS_SORT_OPTIONS"
+ search_facets_config_name = "JOBS_FACETS"
actions = {
"settings": {
diff --git a/invenio_jobs/assets/semantic-ui/js/invenio_jobs/administration/SystemJobActions.js b/invenio_jobs/assets/semantic-ui/js/invenio_jobs/administration/SystemJobActions.js
index 697edcf..f569a80 100644
--- a/invenio_jobs/assets/semantic-ui/js/invenio_jobs/administration/SystemJobActions.js
+++ b/invenio_jobs/assets/semantic-ui/js/invenio_jobs/administration/SystemJobActions.js
@@ -11,9 +11,9 @@ import { Button, Icon } from "semantic-ui-react";
import { i18next } from "@translations/invenio_app_rdm/i18next";
export class SystemJobActions extends Component {
-// constructor(props) {
-// super(props);
-// }
+ // constructor(props) {
+ // super(props);
+ // }
handleAction = async (action) => {
const actionConfig = {
diff --git a/invenio_jobs/assets/semantic-ui/js/invenio_jobs/administration/search/JobSearchLayout.js b/invenio_jobs/assets/semantic-ui/js/invenio_jobs/administration/search/JobSearchLayout.js
index 38b3039..540db64 100644
--- a/invenio_jobs/assets/semantic-ui/js/invenio_jobs/administration/search/JobSearchLayout.js
+++ b/invenio_jobs/assets/semantic-ui/js/invenio_jobs/administration/search/JobSearchLayout.js
@@ -14,7 +14,10 @@ export class JobSearchLayout extends Component {
render() {
const { config, appName } = this.props;
return (
-
+
);
}
}
diff --git a/invenio_jobs/config.py b/invenio_jobs/config.py
index 3e7e6d3..75ac83d 100644
--- a/invenio_jobs/config.py
+++ b/invenio_jobs/config.py
@@ -10,15 +10,15 @@
JOBS_ADMINISTRATION_DISABLED = False
from invenio_i18n import lazy_gettext as _
-RDM_JOBS_FACETS = {}
+JOBS_FACETS = {}
-RDM_JOBS_SORT_OPTIONS = {
+JOBS_SORT_OPTIONS = {
"jobs": dict(
title=_("Jobs"),
fields=["jobs"],
),
"last_run_start_time": dict(
- # title=_("Last run"),
+ title=_("Last run"),
fields=["last_run_start_time"],
),
"user": dict(
@@ -32,7 +32,7 @@
}
"""Definitions of available Jobs sort options. """
-RDM_JOBS_SEARCH = {
+JOBS_SEARCH = {
"facets": [],
"sort": ["jobs", "last_run_start_time", "user", "next_run"],
}