MCPcopy Create free account
hub / github.com/chatwoot/chatwoot / filter

Method filter

app/javascript/dashboard/api/contacts.js:84–87  ·  view source on GitHub ↗
(page = 1, sortAttr = 'name', queryPayload)

Source from the content-addressed store, hash-verified

82
83 // eslint-disable-next-line default-param-last
84 filter(page = 1, sortAttr = 'name', queryPayload) {
85 let requestURL = `${this.url}/filter?${buildContactParams(page, sortAttr)}`;
86 return axios.post(requestURL, queryPayload);
87 }
88
89 importContacts(file) {
90 const formData = new FormData();

Callers 15

sw.jsFile · 0.45
shouldShowPreChatFormFunction · 0.45
getOpenDaysMapFunction · 0.45
filterCampaignsFunction · 0.45
agent.jsFile · 0.45
actions.jsFile · 0.45
removePendingLabelFunction · 0.45
findUndeliveredMessageFunction · 0.45
getNonDeletedMessagesFunction · 0.45
getters.jsFile · 0.45
buildEmojiSectionsFunction · 0.45

Calls 2

buildContactParamsFunction · 0.85
postMethod · 0.45

Tested by 1

unreadCountFetchesFunction · 0.36