------------------------------------------------------------------------------ To reply, visit https://hellosplat.com/s/beanbag/tickets/4963/ ------------------------------------------------------------------------------
New ticket #4963 by rbsurfer For Beanbag, Inc. > Review Board Status: New Tags: Priority:Medium, Type:Enhancement ------------------------------------------------------------------------------ Allow extensions to include custom fields in search ============================================================================== # What version are you running? 4.0.4 # What's the URL of the page this enhancement relates to, if any? Any page that has the search box in the top right # Describe the enhancement and the motivation for it. As you'll know, users can use the search box for either Quick Search or Full-Text Search. These each query a pre-defined set of fields on review requests. Currently, there's no way for an extension to include extra fields, such as custom fields. A use case is when making an integration with some other system, and a custom field stores identifiers of related entries in the other system. Then users would be able to search for reviews using those identifiers. One way to do this would be to allow extensions to add a custom field to the search index used by Full-Text Search. Also, as noted on the extension [database models](https://www.reviewboard.org/docs/manual/4.0/extending/extensions/models/#adding-data-to-review-board-models) page, extensions can add custom fields either using `extra_data` or, whre the fields need to be indexable, custom models. Ideally, it should be possible to make both types searchable. Perhaps even using the index of a custom model directly. By the way, the extension documentation on [adding Review Request fields](https://www.reviewboard.org/docs/manual/4.0/extending/extensions/review-request-fields/) is an excellent starting point when it comes to adding custom fields that are stored in `extra_data`. It'd really help if it could include some starters on ones that use a custom model too! # What operating system are you using? What browser? # Please provide any additional information below. ------------------------------------------------------------------------------ -- You received this message because you are subscribed to the Google Groups "reviewboard-issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard-issues/20220215195736.9045.97605%40ip-10-1-54-209.ec2.internal.
