mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 01:58:12 +08:00
DEV: Remove reference to Discourse.Category
This commit is contained in:
parent
e744b9efec
commit
7cdf41d311
|
@ -137,7 +137,7 @@ export default ComboBoxComponent.extend({
|
|||
|
||||
search(filter) {
|
||||
if (filter) {
|
||||
let results = Discourse.Category.search(filter);
|
||||
let results = Category.search(filter);
|
||||
results = this._filterUncategorized(results).sort((a, b) => {
|
||||
if (a.parent_category_id && !b.parent_category_id) {
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user