mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
When using natural_sort cast to text
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user