mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 08:09:55 -04:00
FIX: link to sub category not working in search
This commit is contained in:
parent
00776896f6
commit
5132f217c4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue