From cd25874acb17d6ec21577c255d539d253da8da0d Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Tue, 7 Nov 2023 13:57:31 +0100 Subject: [PATCH] MT#56239 enable caller/callee wildcards for conversations and recordings Change-Id: I3231024b6103b6695f0d9a1bf062609f9968e8a4 --- src/store/call-recordings.js | 3 ++- src/store/conversations/actions.js | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/store/call-recordings.js b/src/store/call-recordings.js index f52390a5..2d3a0c47 100644 --- a/src/store/call-recordings.js +++ b/src/store/call-recordings.js @@ -44,7 +44,8 @@ export default { async fetchRecordings (context, options) { const recs = await getRecordings({ ...options, - subscriber_id: context.getters.subscriberId + subscriber_id: context.getters.subscriberId, + wildcards: true }) context.commit('callRecordings', recs.recordings) return recs.total_count diff --git a/src/store/conversations/actions.js b/src/store/conversations/actions.js index 50bb4e0b..64b53e0d 100644 --- a/src/store/conversations/actions.js +++ b/src/store/conversations/actions.js @@ -109,6 +109,9 @@ export default { from: _.get(options, 'filter.from', ''), to: _.get(options, 'filter.to', ''), direction: _.get(options, 'filter.direction', ''), + caller: _.get(options, 'filter.caller', ''), + callee: _.get(options, 'filter.callee', ''), + wildcards: true, no_count: true }) context.commit('nextPageSucceeded', res)