Opened 20 years ago
Closed 20 years ago
#2825 closed defect (bug) (fixed)
Category Exclusion for real
| Reported by: | skeltoac | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: | Focuses: |
Description
Query vars like "cat=-1" will exclude all posts with ONLY category 1. Posts severally categorized cannot be excluded by category.
Attachments (1)
Change History (7)
#4
@
20 years ago
- Resolution fixed
- Status closed → reopened
This change break RSS feed.
When there are a post with the more then one category, it is emitted more then once, causeing duplicated GUID.
#5
@
20 years ago
sdiz: I'm not seeing the effect you describe. I have a post with several categories and when I view one of its categories as a feed it appears only once. Are you running a trunk checkout or did you apply this patch manually? See #2709, might be related. What steps to reproduce? Can you get a printout of the offending query?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Attached patch true-cat-exclusion.diff ensures all posts in the excluded categories are excluded. It costs one query. This will help folks with asides or other kinds of multiple-loop systems.