Skip to content

🐛 Bug Report: useCounts returns a maximum of 99 unread notifications with read filter #7729

@jayanth-karri22

Description

@jayanth-karri22

📜 Description

I don't see any documentation on fetching Counts with limit more than 100.

👟 Reproduction steps

const { counts, refetch } = useCounts({
	filters: [{ read: false }],
});

    Make sure number of unread are more than 99 and try to refetch counts doesn't get updated

👍 Expected behavior

Hook should support a param limit

👎 Actual Behavior with Screenshots

There is no support for limit param. Couldn't find in documentation

Novu version

@novu/react": "^2.6.3", "@novu/node": "^2.0.1", "@novu/framework": "^2.3.0",

npm version

10.7.0

node version

22.2.0

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions