From 70e0a673e6a067ba71b7732715e8aa7f838e77ee 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 (cherry picked from commit cd25874acb17d6ec21577c255d539d253da8da0d) --- src/store/call-recordings.js | 3 ++- src/store/conversations/actions.js | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 1104ef84..bf27f57c 100644 --- a/src/store/conversations/actions.js +++ b/src/store/conversations/actions.js @@ -95,7 +95,10 @@ export default { type: options.type, from: _.get(options, 'filter.from', ''), 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 }) context.commit('nextPageSucceeded', res) } catch (err) {