mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Correct Speedy entry in Posted before/after and Minimum Post Count
This commit is contained in:
parent
3bb4e22692
commit
dbe9391036
1 changed files with 2 additions and 3 deletions
|
@ -88,7 +88,6 @@ export default Em.Component.extend({
|
|||
return;
|
||||
}
|
||||
|
||||
this.findSearchTerms();
|
||||
this.setSearchedTermValue('searchedTerms.username', REGEXP_USERNAME_PREFIX);
|
||||
this.setSearchedTermValueForCategory();
|
||||
this.setSearchedTermValueForGroup();
|
||||
|
@ -117,11 +116,11 @@ export default Em.Component.extend({
|
|||
result.push(block);
|
||||
});
|
||||
|
||||
this.set('searchTermBlocks', result);
|
||||
return result;
|
||||
},
|
||||
|
||||
filterBlocks(regexPrefix) {
|
||||
const blocks = this.get('searchTermBlocks');
|
||||
const blocks = this.findSearchTerms();
|
||||
if (!blocks) return [];
|
||||
|
||||
let result = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue