• 
      

    Derive the search index bug field from get_bug_list().

    Review Request #15307 — Created Sept. 14, 2026 and updated

    Information

    Review Board
    release-9.x

    Reviewers

    This change modifies the bug field for the search index moves from
    model_attr to a prepare method, so migrated review requests index
    their linked bugs rather than the frozen bugs_closed column.
    extra_data is added to the indexed fields since get_bug_list() reads
    the migration marker from it.

    A reindex will be needed on upgrade. This should be noted in the
    release notes.

    Ran unit tests.

    Summary ID
    Derive the search index bug field from get_bug_list().
    This change modifies the bug field for the search index moves from `model_attr` to a `prepare` method, so migrated review requests index their linked bugs rather than the frozen `bugs_closed` column. `extra_data` is added to the indexed fields since `get_bug_list()` reads the migration marker from it. A reindex will be needed on upgrade. This should be noted in the release notes. Testing Done: Ran unit tests.
    qukvmvyqkwtwwtvkkokplzwpxwnqxyor
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.