When using natural_sort cast to text
This commit is contained in:
parent
d428119f4f
commit
530967f28a
|
|
@ -36,7 +36,7 @@
|
|||
$apps[$x]['destinations'][$y]['name'] = "voicemails";
|
||||
$apps[$x]['destinations'][$y]['sql'] = "select voicemail_uuid, voicemail_uuid as uuid, voicemail_id as destination, '*99' || voicemail_id as extension, voicemail_description as description, voicemail_description as name from v_voicemails";
|
||||
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and voicemail_enabled = 'true' ";
|
||||
$apps[$x]['destinations'][$y]['order_by'] = "natural_sort(voicemail_id) asc ";
|
||||
$apps[$x]['destinations'][$y]['order_by'] = "natural_sort(voicemail_id::text) asc ";
|
||||
$apps[$x]['destinations'][$y]['field']['uuid'] = "voicemail_uuid";
|
||||
$apps[$x]['destinations'][$y]['field']['voicemail_uuid'] = "voicemail_uuid";
|
||||
$apps[$x]['destinations'][$y]['field']['destination'] = "voicemail_id";
|
||||
|
|
|
|||
Loading…
Reference in New Issue