Sort formatted values in vector API response (ordering
+ fformatter
params)
#806
Labels
feature
New feature or request
ordering
+ fformatter
params)
#806
Checklist
Motivation
Be able to sort the the following values by "formatted" field value instead of by field key:
https://v37.g3wsuite.it/vector/api/data/qdjango/97/buildings_2f43dc1d_6725_42d2_a09b_dd446220104a/?fformatter=address&ordering=address
Suggested solution
Introduce a new parameter or change the
ordering
behavior so that response can be like following:NB the sorting algo must also take into account numeric, null and boolean values (see below)
Alternatives considered
Formatted values can be sorted on client-side, but this make every API calls code even more complex/unreliable:
The text was updated successfully, but these errors were encountered: