nephila / djangocms-blog

django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks
https://djangocms-blog.readthedocs.io
BSD 3-Clause "New" or "Revised" License
391 stars 192 forks source link

filter by category in latest articles are not taking into account the app.config #723

Closed i-salameh95 closed 11 months ago

i-salameh95 commented 1 year ago

Description

using latest-post plugin with app.config and category specified, when click on category it redirect me to page saying that no posts is found, the website uses 2 app config, one for news and one for another blog. each of those config have it's own categories.

Steps to reproduce

  1. create 2 app config with categories in them
  2. in another page insert latest posts from config1 with category ( from config1)... also another bug here: filter by category contain all cateories by config 1 and config2.
  3. click on results meta category, it will direct you to config2 page saying no posts found.

Versions

django cms : 3.11 django version: 3.2

Expected behaviour

the category should direct to website/news-and-activites/category/news/

Actual behaviour

the category direct to website/health-blog/category/news/ so it direct to category slug inside another config.