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'), label: this.$t('Callee'),
value: 'callee' value: 'callee'
},
{
label: this.$t('CallID'),
value: 'callId'
} }
] ]
}, },

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

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

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

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

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

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

Loading…
Cancel
Save