Files
invenio-theme-iform/invenio_theme_tugraz/search.py
Christoph Ladurner 4c5e888f18 global: change to invenio-records-global-search
* package name change
2023-11-10 09:19:01 +01:00

21 lines
535 B
Python

# -*- coding: utf-8 -*-
#
# Copyright (C) 2020-2023 Graz University of Technology.
#
# invenio-theme-tugraz is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see LICENSE file for more
# details.
"""Frontpage records."""
from invenio_search.api import RecordsSearch
class FrontpageRecordsSearch(RecordsSearch):
"""Search class for records that goes on the frontpage."""
class Meta:
"""Default index and filter for frontpage search."""
index = "global-search"