diff --git a/invenio_theme_tugraz/search.py b/invenio_theme_tugraz/search.py
index fbdbfb8..e8698a0 100644
--- a/invenio_theme_tugraz/search.py
+++ b/invenio_theme_tugraz/search.py
@@ -17,4 +17,4 @@ class FrontpageRecordsSearch(RecordsSearch):
class Meta:
"""Default index and filter for frontpage search."""
- index = "dublin-core"
+ index = "global-search"
diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html
index ae33c87..dbf7387 100644
--- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html
+++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html
@@ -24,11 +24,11 @@
- {{ r.metadata.dates[0] }}
+ {{ r.created_date_l10n_long }}
-
+
{%- for type in r.metadata.types %}
{{ type }}
{%- endfor %}
@@ -40,7 +40,7 @@
{{ r.access_status.title_l10n }}
-
+
{{ r.original.schema_l10n }}
diff --git a/invenio_theme_tugraz/views.py b/invenio_theme_tugraz/views.py
index 628836f..0e3ac60 100644
--- a/invenio_theme_tugraz/views.py
+++ b/invenio_theme_tugraz/views.py
@@ -16,7 +16,9 @@ from flask_menu import current_menu
from invenio_i18n import lazy_gettext as _
# from invenio_rdm_records.resources.serializers import UIJSONSerializer
-from invenio_records_dublin_core.resources.serializers import DublinCoreJSONSerializer
+from invenio_records_global_search.resources.serializers import (
+ GlobalSearchJSONSerializer,
+)
from invenio_users_resources.proxies import current_user_resources
from opensearch_dsl.utils import AttrDict
@@ -96,7 +98,7 @@ def ui_blueprint(app):
def records_serializer(records=None):
"""Serialize list of records."""
- serializer = DublinCoreJSONSerializer()
+ serializer = GlobalSearchJSONSerializer()
return [serializer.dump_obj(r.to_dict()) for r in records]
diff --git a/setup.cfg b/setup.cfg
index 7f3cf1b..d084c3f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -39,6 +39,7 @@ install_requires =
invenio-assets>=2.0.0
invenio-i18n>=1.3.1
invenio_config_tugraz>=0.11.0
+ invenio_records_global_search>=0.0.1
[options.extras_require]
tests =