Search: autocomplete terms add up as labels, all their records exact (Q7)
A chosen suggestion becomes a removable label in the field; the search starts with Enter or the button, so several terms and free text combine. The request sends the whole phrase (titles, model) and the term IDs. Terms are ANDed in the same filter as the countries of Q6; every record of the chosen terms is exact, ordered by the other words then by the model, then close results from the whole catalogue. The message names what makes a result exact (terms, countries as typed). Wider field. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,10 @@ const TEXTS = {
|
||||
],
|
||||
suggestionsLabel: 'Suggestions',
|
||||
suggestionsOne: '1 suggestion, flèches haut et bas pour choisir',
|
||||
suggestionsMany: n => `${n} suggestions, flèches haut et bas pour choisir`
|
||||
suggestionsMany: n => `${n} suggestions, flèches haut et bas pour choisir`,
|
||||
// Terms chosen in the suggestions (Q7).
|
||||
termsLabel: 'Termes choisis',
|
||||
removeTerm: label => `Retirer ${label}`
|
||||
},
|
||||
en: {
|
||||
placeholder: 'Describe the material you are looking for',
|
||||
@@ -37,7 +40,9 @@ const TEXTS = {
|
||||
],
|
||||
suggestionsLabel: 'Suggestions',
|
||||
suggestionsOne: '1 suggestion, use up and down arrows to choose',
|
||||
suggestionsMany: n => `${n} suggestions, use up and down arrows to choose`
|
||||
suggestionsMany: n => `${n} suggestions, use up and down arrows to choose`,
|
||||
termsLabel: 'Chosen terms',
|
||||
removeTerm: label => `Remove ${label}`
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user