[PR #855] [MERGED] fix: completed/pending status gets incremented once if sender is one of the recipients #1210

Closed
opened 2026-02-26 19:32:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/855
Author: @sumitbishti
Created: 1/23/2024
Status: Merged
Merged: 1/25/2024
Merged by: @dguyen

Base: mainHead: fix/completed-pending-status-increment


📝 Commits (2)

  • 256cc08 fix: completed/pending status gets incremented once if sender is one of the recipients
  • 3ecdd0d fix: extracted the common code out of the OR statements

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 packages/lib/server-only/document/get-stats.ts (+5 -0)

📄 Description

completed/pending status gets incremented once if sender is one of the recipients

fixes #853


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/855 **Author:** [@sumitbishti](https://github.com/sumitbishti) **Created:** 1/23/2024 **Status:** ✅ Merged **Merged:** 1/25/2024 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `fix/completed-pending-status-increment` --- ### 📝 Commits (2) - [`256cc08`](https://github.com/documenso/documenso/commit/256cc082e35073ac973e7b26cff40c298f5caba7) fix: completed/pending status gets incremented once if sender is one of the recipients - [`3ecdd0d`](https://github.com/documenso/documenso/commit/3ecdd0d1bf04600699ebaa8075080346809b1166) fix: extracted the common code out of the OR statements ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/lib/server-only/document/get-stats.ts` (+5 -0) </details> ### 📄 Description completed/pending status gets incremented once if sender is one of the recipients fixes #853 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:32:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1210
No description provided.