[PR #2116] [MERGED] fix(database): filter dates evaluated at module load time #17906

Closed
opened 2026-05-18 18:12:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/2116
Author: @depado
Created: 12/18/2025
Status: Merged
Merged: 12/18/2025
Merged by: @oschwartz10612

Base: devHead: fix-analytics-filtering


📝 Commits (1)

  • 174e086 fix(database): filter dates evaluated at module load time

📊 Changes

4 files changed (+4 additions, -4 deletions)

View changed files

📝 server/private/routers/auditLogs/queryAccessAuditLog.ts (+1 -1)
📝 server/private/routers/auditLogs/queryActionAuditLog.ts (+1 -1)
📝 server/routers/auditLogs/queryRequestAnalytics.ts (+1 -1)
📝 server/routers/auditLogs/queryRequestAuditLog.ts (+1 -1)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Dates in queries were evaluated at module load time and not at request time which limited the request's default behavior for timeEnd to the time the server actually started. Feel free to modify the pull request or ask me for changes. (Or close it if it's totally unrelated)

fixes #2113

Opening a very small PR on a project I love using image

🔄 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/fosrl/pangolin/pull/2116 **Author:** [@depado](https://github.com/depado) **Created:** 12/18/2025 **Status:** ✅ Merged **Merged:** 12/18/2025 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `dev` ← **Head:** `fix-analytics-filtering` --- ### 📝 Commits (1) - [`174e086`](https://github.com/fosrl/pangolin/commit/174e0862cf45fe7006a6bebff5e7b06296959ed9) fix(database): filter dates evaluated at module load time ### 📊 Changes **4 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `server/private/routers/auditLogs/queryAccessAuditLog.ts` (+1 -1) 📝 `server/private/routers/auditLogs/queryActionAuditLog.ts` (+1 -1) 📝 `server/routers/auditLogs/queryRequestAnalytics.ts` (+1 -1) 📝 `server/routers/auditLogs/queryRequestAuditLog.ts` (+1 -1) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description Dates in queries were evaluated at module load time and not at request time which limited the request's default behavior for `timeEnd` to the time the server actually started. Feel free to modify the pull request or ask me for changes. (Or close it if it's totally unrelated) fixes #2113 <details> <summary>Opening a very small PR on a project I love using</summary> <img height="200" alt="image" src="https://github.com/user-attachments/assets/f983f904-4a08-47b6-9aa8-3db25b8bb971" /> </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-18 18:12:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#17906