FEATURE: allow staff to select existing message via ID or URL
This commit is contained in:
parent
aeeead351a
commit
59e3eecfa6
|
@ -36,7 +36,8 @@ export default Ember.Component.extend({
|
||||||
|
|
||||||
searchForTerm(title, {
|
searchForTerm(title, {
|
||||||
typeFilter: "private_messages",
|
typeFilter: "private_messages",
|
||||||
searchForId: true
|
searchForId: true,
|
||||||
|
restrictToArchetype: "private_message"
|
||||||
}).then(results => {
|
}).then(results => {
|
||||||
if (results && results.posts && results.posts.length > 0) {
|
if (results && results.posts && results.posts.length > 0) {
|
||||||
this.set(
|
this.set(
|
||||||
|
|
Loading…
Reference in New Issue