fix(combobox): always sort on the client
This commit is contained in:
parent
641a33e1e0
commit
ff95a812e2
8 changed files with 46 additions and 26 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue