@@ -55,10 +55,12 @@ meta:
55
55
<col width =" 30%" />
56
56
</colgroup >
57
57
<thead >
58
- <th scope =" col" :aria-sort =" sortAttribute('nom')" class =" table-header-nom" ><TableSort :show-control =" showOptionalControl" code =" nom" v-model =" sortOrder" @update:modelValue =" v => updateQuery({ ...v, page: 1 })" >Exploitation</TableSort ></th >
59
- <th scope =" col" :aria-sort =" sortAttribute('engagement_date')" class =" table-header-engagement_date fr-text--align-right" ><TableSort :show-control =" showOptionalControl" code =" engagement_date" v-model =" sortOrder" @update:modelValue =" v => updateQuery({ ...v, page: 1 })" >Début de conversion</TableSort ></th >
60
- <th scope =" col" :aria-sort =" sortAttribute('audit_date')" class =" table-header-audit_date fr-text--align-right" ><TableSort code =" audit_date" v-model =" sortOrder" @update:modelValue =" v => updateQuery({ ...v, page: 1 })" >Date de l'audit</TableSort ></th >
61
- <th scope =" col" :aria-sort =" sortAttribute('statut')" class =" table-header-statut fr-text--align-right" ><TableSort code =" statut" v-model =" sortOrder" @update:modelValue =" v => updateQuery({ ...v, page: 1 })" >Statut</TableSort ></th >
58
+ <tr >
59
+ <th scope =" col" :aria-sort =" sortAttribute('nom')" class =" table-header-nom" ><TableSort :show-control =" showOptionalControl" code =" nom" v-model =" sortOrder" @update:modelValue =" v => updateQuery({ ...v, page: 1 })" >Exploitation</TableSort ></th >
60
+ <th scope =" col" :aria-sort =" sortAttribute('engagement_date')" class =" table-header-engagement_date fr-text--align-right" ><TableSort :show-control =" showOptionalControl" code =" engagement_date" v-model =" sortOrder" @update:modelValue =" v => updateQuery({ ...v, page: 1 })" >Début de conversion</TableSort ></th >
61
+ <th scope =" col" :aria-sort =" sortAttribute('audit_date')" class =" table-header-audit_date fr-text--align-right" ><TableSort code =" audit_date" v-model =" sortOrder" @update:modelValue =" v => updateQuery({ ...v, page: 1 })" >Date de l'audit</TableSort ></th >
62
+ <th scope =" col" :aria-sort =" sortAttribute('statut')" class =" table-header-statut fr-text--align-right" ><TableSort code =" statut" v-model =" sortOrder" @update:modelValue =" v => updateQuery({ ...v, page: 1 })" >Statut</TableSort ></th >
63
+ </tr >
62
64
</thead >
63
65
<tbody aria-live =" polite" >
64
66
<tr v-if =" isSearching" >
@@ -195,7 +197,7 @@ const error = ref('')
195
197
const isSearching = ref (false )
196
198
const searchResults = ref ([])
197
199
const operators = computed (() => isOnline .value ? searchResults .value : Object .entries (storage .operators ).map (
198
- ([, { operator }]) => operator
200
+ ([, { records, operator }]) => ({ ... operator, ... records[ 0 ] })
199
201
))
200
202
201
203
// controlled by the form
0 commit comments