From 3f850cab920261370cd00f99a19f71cfb18b8e16 Mon Sep 17 00:00:00 2001 From: Mikko Nieminen Date: Thu, 8 Aug 2024 11:11:08 +0200 Subject: [PATCH] rename timeline search category (#1465) --- CHANGELOG.rst | 6 ++++++ timeline/plugins.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3a02a91c..d0270ae9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,12 @@ Added - **Projectroles** - Previously removed ``BatchUpdateRolesMixin`` (#1464) +Changed +------- + +- **Timeline** + - Rename search item category to ``Timeline Events`` (#1465) + Fixed ----- diff --git a/timeline/plugins.py b/timeline/plugins.py index 62eef774..643e070c 100644 --- a/timeline/plugins.py +++ b/timeline/plugins.py @@ -110,7 +110,7 @@ def search(self, search_terms, user, search_type=None, keywords=None): items = [e for e in events if self.check_permission(user, e)] ret = PluginSearchResult( category='all', - title='Timeline Event', + title='Timeline Events', search_types=['timeline'], items=items, )