fix(combobox): always sort on the client

This commit is contained in:
Paul Chavard 2024-02-13 08:55:51 +01:00
parent 641a33e1e0
commit ff95a812e2
8 changed files with 46 additions and 26 deletions

View file

@ -30,7 +30,7 @@ class DataSources::CommuneController < ApplicationController
type: 'commune-actuelle,arrondissement-municipal',
nom: name,
boost: 'population',
limit: 20
limit: 100
})
end
@ -39,7 +39,7 @@ class DataSources::CommuneController < ApplicationController
type: 'commune-actuelle,arrondissement-municipal',
codePostal: postal_code,
boost: 'population',
limit: 10
limit: 20
})
end