MT#56239 enable caller/callee wildcards for conversations and

recordings

Change-Id: I3231024b6103b6695f0d9a1bf062609f9968e8a4
mr12.3
Rene Krenn 2 years ago committed by Hugo Zigha
parent 4d6ad4a6af
commit cd25874acb

@ -44,7 +44,8 @@ export default {
async fetchRecordings (context, options) { async fetchRecordings (context, options) {
const recs = await getRecordings({ const recs = await getRecordings({
...options, ...options,
subscriber_id: context.getters.subscriberId subscriber_id: context.getters.subscriberId,
wildcards: true
}) })
context.commit('callRecordings', recs.recordings) context.commit('callRecordings', recs.recordings)
return recs.total_count return recs.total_count

@ -109,6 +109,9 @@ export default {
from: _.get(options, 'filter.from', ''), from: _.get(options, 'filter.from', ''),
to: _.get(options, 'filter.to', ''), to: _.get(options, 'filter.to', ''),
direction: _.get(options, 'filter.direction', ''), direction: _.get(options, 'filter.direction', ''),
caller: _.get(options, 'filter.caller', ''),
callee: _.get(options, 'filter.callee', ''),
wildcards: true,
no_count: true no_count: true
}) })
context.commit('nextPageSucceeded', res) context.commit('nextPageSucceeded', res)

Loading…
Cancel
Save