TT#119466 CallRecordings - As Subscriber I want o be able to filter CallRecordings by CallID

- TT#120745 Integrate caller and callee input in CallRecording list view
- TT#120743 Adjust data fetching part
- TT#120741 Specify UX flow

Change-Id: I86796b9e116628bef0379a09f51aa190d0fbafd8
mr9.5.2
Carlo Venusino 4 years ago
parent c07d21b22a
commit 180cc90857

@ -228,6 +228,10 @@ export default {
{
label: this.$t('Callee'),
value: 'callee'
},
{
label: this.$t('CallID'),
value: 'callId'
}
]
},

@ -119,6 +119,7 @@
"Call ended": "Beendet",
"Call forwarded": "Anruf weitergeleitet",
"Call recordings": "",
"CallID": "",
"Callee": "",
"Caller": "",
"Calling": "Anrufen",

@ -119,6 +119,7 @@
"Call ended": "Call ended",
"Call forwarded": "Call forwarded",
"Call recordings": "Call recordings",
"CallID": "CallID",
"Callee": "Callee",
"Caller": "Caller",
"Calling": "Calling",

@ -119,6 +119,7 @@
"Call ended": "Llamada terminada",
"Call forwarded": "Llamada redirigida",
"Call recordings": "",
"CallID": "",
"Callee": "",
"Caller": "",
"Calling": "Llamando",

@ -119,6 +119,7 @@
"Call ended": "Appel terminé",
"Call forwarded": "",
"Call recordings": "",
"CallID": "",
"Callee": "",
"Caller": "",
"Calling": "Appel",

@ -119,6 +119,7 @@
"Call ended": "Chiamata terminata",
"Call forwarded": "Chiamata inoltrata",
"Call recordings": "",
"CallID": "",
"Callee": "",
"Caller": "",
"Calling": "Composizione",

@ -239,7 +239,8 @@ export default {
startTime: null,
endTime: null,
caller: null,
callee: null
callee: null,
callId: null
},
showFilters: false
}
@ -275,7 +276,7 @@ export default {
}),
async fetchPaginatedRecordings (props) {
const { page, rowsPerPage, sortBy, descending } = props.pagination
const { startTime, endTime, caller, callee } = this.filter
const { startTime, endTime, caller, callee, callId } = this.filter
const count = await this.fetchRecordings({
page: page,
rows: rowsPerPage,
@ -283,8 +284,9 @@ export default {
order_by_direction: descending ? 'desc' : 'asc',
start_time: startTime,
end_time: endTime,
caller: caller ? '*' + caller : undefined,
callee: callee ? '*' + callee : undefined
caller: caller ? '*' + caller + '*' : undefined,
callee: callee ? '*' + callee + '*' : undefined,
call_id: callId ? '*' + callId + '*' : undefined
})
this.pagination = { ...props.pagination }
this.pagination.rowsNumber = count

Loading…
Cancel
Save