Your don't need the header in your template. You need to add it like this:router.get('/calendar', middleware.buildHeader, renderPageHandler); router.get('/api/calendar', renderPageHandler);
Missing posts/*/user status in /api/search page
In my theme, I show user status on the avatar of each users. I did it on many pages (/categories, /category, /unread, ...) but I'm blocked for /search page : /api/search shows that there is no status data in posts/*/user/ (there are only uid, username, userslug, picture, icon:text, icon:bgColor).
Somebody can give me some guidance to add status to posts/*/user on /api/search/ ?
Thanks in advance !
This should fix your issue.
@baris Great ! Many thanks ! Exactly what I needed and it works (of course... ).