<commit_before>{{#if schools.isFulfilled}}
<div id='schoolsfilter' class="filter">
  <label class="inline-label">
    {{fa-icon 'university'}}
  </label>
  <div id="school-selection" class="inline-data">
    {{#if hasMoreThanOneSchool}}
      <select onchange={{action "changeSelectedSchool" value="target.value"}}>
        {{#each sortedSchools as |school|}}
          <option value={{school.id}} selected={{is-equal school selectedSchool.content}}>
            {{school.title}}
          </option>
        {{/each}}
      </select>
    {{else}}
      {{selectedSchool.title}}
    {{/if}}
  </div>
</div>
{{/if}}
{{#if updates.isFulfilled}}
  <p>{{t 'admin.pendingUpdatesSummary' count=updates.length}}</p>
  {{#if updates.length}}
    {{#link-to 'pending-user-updates'}}
      <button>{{t 'general.manage'}}</button>
    {{/link-to}}
  {{/if}}<commit_msg>Maintain school selection when changing from update summary to update route<commit_after>{{#if schools.isFulfilled}}
<div id='schoolsfilter' class="filter">
  <label class="inline-label">
    {{fa-icon 'university'}}
  </label>
  <div id="school-selection" class="inline-data">
    {{#if hasMoreThanOneSchool}}
      <select onchange={{action "changeSelectedSchool" value="target.value"}}>
        {{#each sortedSchools as |school|}}
          <option value={{school.id}} selected={{is-equal school selectedSchool.content}}>
            {{school.title}}
          </option>
        {{/each}}
      </select>
    {{else}}
      {{selectedSchool.title}}
    {{/if}}
  </div>
</div>
{{/if}}
{{#if updates.isFulfilled}}
  <p>{{t 'admin.pendingUpdatesSummary' count=updates.length}}</p>
  {{#if updates.length}}
    {{#link-to 'pending-user-updates' (query-params school=selectedSchool.id)}}
      <button>{{t 'general.manage'}}</button>
    {{/link-to}}
  {{/if}}
{'fraction_non_alphanumeric': 0.20429515418502203, 'fraction_numerical': 0.0, 'mean_word_length': 3.5538847117794488, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '974352', 'n_tokens_mistral': 608, 'n_tokens_neox': 592, 'n_words': 113}