mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 15:52:20 +00:00
FIX: link to sub category not working in search
This commit is contained in:
parent
00776896f6
commit
5132f217c4
@ -57,7 +57,7 @@ Discourse.Search = {
|
||||
});
|
||||
|
||||
results.categories = results.categories.map(function(category){
|
||||
category = Discourse.Category.create(category);
|
||||
category = Discourse.Category.list().findProperty('id', category.id);
|
||||
return category;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user