Implement search mechanism for work item epic in legacy issue's sidebar
The Epic work items are not getting filtered by title and throws error if any search term is passed. An existing task #393126 (closed) will enable the search filter for group level and project level work items. Till then, the search text box is kept hidden when display_work_item_epic_issue_sidebar
feature flag is enabled.
Once the task is resolved, following changes needs to be done for
-
Remove the check of
showWorkItemEpics
introduced in the MR from sidebar/components/sidebar_dropdown.vue#L226<gl-search-box-by-type v-if="!showWorkItemEpics" ref="search" v-model="searchTerm" :placeholder="__('Search')" />
-
Change the query
sidebar/queries/group_epics.query.graphql
as per the new changes in #393126 (closed)
Reference: #423984 (comment 1678246337)
Edited by Rajan Mistry