Skip to content

Tags API counting same resource (post and/or document) more than once when applied to children or sibling tags #285

Description

@armintalaie

Describe the bug
Issue with tag api counting tags down from a root

Screenshots
these are example i ran for myself and are a snapshot of my database.

Post tags applied. you can see some posts have been applied to more than one tags.

title tags
Onboarding ["Onboarding"]
Environment Variables ["Developers","Onboarding","Backend"]
[DEV] DB Schema Changes ["Database","Backend"]
Frontend Setup ["Frontend"]
[DEV] Encountering Migration Update: Multiple Heads ["Database"]
[DEV] Database Handling and Migration Scripts ["Developers"]

Image

In this database example counts should be:

  • team: 5 (all from children)
  • developers: 5 (4 from children - one direct to itself)
    • backend: 3 (1 only from children - 2 direct)
      • database: 2
    • frontend: 1
  • onboarding: 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions