Closed MomobamiKiraly closed 1 month ago
Sure, I will check it and make some changed to suit our design
Thanks for modifying👍, but I found a bug here. When I search as a visitor, it works, but after I logged in, I will encounter a bug says "undefinederror" ('user' is undefined). I think that's because you haven't import current user to the search function, you can resolve the bug by importing current user.
Thanks mate for pointing that. I've fixed this bug so whoever logged in could use search-post function correctly. In app.py, I imported current_user and use this fuction.
Thanks mate for pointing that. I've fixed this bug so whoever logged in could use search-post function correctly. In app.py, I imported current_user and use this fuction.
Nice, it works, thanks
Hi Chi, I reviewed your code and I found the `search_results.html' doesnt have styles and it's inconsistent with other pages. Could you please add some styles to make it consistent?