<commit_before>{{#each result.descriptions}}
    <tr class='resultRow selectable-row {{#if danger}}danger{{/if}}'>
        <td class='col-md-7'>
            <div class='result-item' data-module="{{module}}" data-concept-id='{{conceptId}}' data-term='{{term}}'>
                {{#if_eq definitionStatus "PRIMITIVE"}}
                    <span class="badge alert-warning" draggable="true" ondragstart="drag(event, '{{../../divElementId}}')" data-module="{{moduleId}}" data-concept-id="{{conceptId}}" data-term="{{term}}">&nbsp;&nbsp;</span>&nbsp;&nbsp;
                {{else}}
                    <span class="badge alert-warning" draggable="true" ondragstart="drag(event, '{{../../divElementId}}')" data-module="{{moduleId}}" data-concept-id="{{conceptId}}" data-term="{{term}}">&equiv;</span>&nbsp;&nbsp;
                {{/if_eq}}
                {{#hasCountryIcon moduleId}}
                    <div class="phoca-flagbox" style="width:20px;height:20px">
                        <span class="phoca-flag {{countryIcon moduleId}}"></span>
                    </div>
                {{/hasCountryIcon}}
                <a href='javascript:void(0);' style='color: inherit;text-decoration: inherit;' draggable="true" ondragstart="drag(event, '{{../../divElementId}}')" data-term='{{term}}' data-module="{{moduleId}}" data-concept-id='{{conceptId}}' data-term='{{term}}'>{{term}}</a>
            </div>
        </td>
        <td class='text-muted small-text col-md-5 result-item' data-term='{{term}}' data-module="{{moduleId}}" data-concept-id='{{conceptId}}' data-term='{{term}}'>
            {{../result.fsn.term}}
        </td>
    </tr>
{{/each}}

{{#if_eq result.descriptions.length 0}}
    <tr><td class='text-muted'><span data-i18n-id="i18n_no_results" class="i18n">{{i18n "i18n_no_results" "No results"}}</span></td></tr>
{{/if_eq}}<commit_msg>BROWSE-307 Fix missing flag when searching by ID<commit_after>{{#each result.descriptions}}
    <tr class='resultRow selectable-row {{#if danger}}danger{{/if}}'>
        <td class='col-md-7'>
            <div class='result-item' data-module="{{module}}" data-concept-id='{{conceptId}}' data-term='{{term}}'>
                {{#if_eq definitionStatus "PRIMITIVE"}}
                    <span class="badge alert-warning" draggable="true" ondragstart="drag(event, '{{../../divElementId}}')" data-module="{{moduleId}}" data-concept-id="{{conceptId}}" data-term="{{term}}">&nbsp;&nbsp;</span>&nbsp;&nbsp;
                {{else}}
                    <span class="badge alert-warning" draggable="true" ondragstart="drag(event, '{{../../divElementId}}')" data-module="{{moduleId}}" data-concept-id="{{conceptId}}" data-term="{{term}}">&equiv;</span>&nbsp;&nbsp;
                {{/if_eq}}
                {{#hasCountryIcon moduleId}}
                    <div class="phoca-flagbox" style="width:20px;height:20px">
                        <span class="phoca-flag {{countryIcon moduleId}}"></span>
                    </div>
                {{/hasCountryIcon}}
                <a href='javascript:void(0);' style='color: inherit;text-decoration: inherit;' draggable="true" ondragstart="drag(event, '{{../../divElementId}}')" data-term='{{term}}' data-module="{{moduleId}}" data-concept-id='{{conceptId}}' data-term='{{term}}'>{{term}}</a>
            </div>
        </td>
        <td class='text-muted small-text col-md-5 result-item' data-term='{{term}}' data-module="{{moduleId}}" data-concept-id='{{conceptId}}' data-term='{{term}}'>
            {{#hasCountryIcon ../result.moduleId}}
                <div class="phoca-flagbox" style="width:20px;height:20px">
                    <span class="phoca-flag {{countryIcon ../moduleId}}"></span>
                </div>
            {{/hasCountryIcon}}
            {{../result.fsn.term}}
        </td>
    </tr>
{{/each}}

{{#if_eq result.descriptions.length 0}}
    <tr><td class='text-muted'><span data-i18n-id="i18n_no_results" class="i18n">{{i18n "i18n_no_results" "No results"}}</span></td></tr>
{{/if_eq}}
{'fraction_non_alphanumeric': 0.2292866082603254, 'fraction_numerical': 0.010763454317897372, 'mean_word_length': 2.9800796812749004, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7389644', 'n_tokens_mistral': 1325, 'n_tokens_neox': 1239, 'n_words': 189}