Missing posts/*/user status in /api/search page

  • Hello !

    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... 😉 ).

Log in to reply

Suggested Topics

| |