プロジェクト

全般

プロフィール

Vote #78015

未完了

Search result - show custom field and values in search result

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Search engine_16
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
16
version_id:
0
issue_org_id:
24513
author_id:
157236
assigned_to_id:
0
comments:
2
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Hello developers,

i would like to implement the possibility to not only search for:
api.id result.id
api.title result.event_title
api.type result.event_type
api.url url_for(result.event_url(:only_path => false))
api.description result.event_description
api.datetime result.event_datetime

but also for a custom_field like "name" or other custom field values.

I tried for some hours, but i am not a ruby on rails developer.

Any hints on how to implementing this quick and dirty?


journals

--------------------------------------------------------------------------------
Sorry Toshi Maruyama. I did not correctly explain the feature.

Searching for custom field works fine in our Redmine 3.3.0.stable environment.
But the "search result" only consists of:

api.id result.id
api.title result.event_title
api.type result.event_type
api.url url_for(result.event_url(:only_path => false))
api.description result.event_description
api.datetime result.event_datetime

we also want to show custom fields in the search result, such as "custom field name" or "custom field firstname" or any other custom field.
As we have custom field "name and firstname" in our issues.

Right now the result looks like this:
"'PROJECT-Name' - 'Title'"

we need:
"PROJECT-Name - 'Title' - 'Firstname' - 'Lastname'"

=> where firstname and lastname are custom fields.

URL: https://exampledomain.com/search?utf8=✓&q=willy
(this would search for willy - and brings correct results but only showing "PROJECT-Name" and "Title" but we need "firname (willy) and lastname (willy's lastname)" as well!

Kind regards,
Raphael

--------------------------------------------------------------------------------


related_issues

relates,New,22607,Search in custom fields and issues

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0