[PR #1812] [CLOSED] Handle nullable date type in queryable extension. #2909

Open
opened 2026-01-29 18:21:03 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1812
Author: @tale80
Created: 11/26/2024
Status: Closed

Base: masterHead: datafilter-nullable-datetime


📝 Commits (1)

  • 4e06a50 Handle nullable date type in queryable extension.

📊 Changes

1 file changed (+6 additions, -1 deletions)

View changed files

📝 Radzen.Blazor/QueryableExtension.cs (+6 -1)

📄 Description

Added a check to handle properties of nullable date types by accessing their Value property when filtering. This ensures that the filtering logic works correctly with nullable dates.

This PR correct an incorrect request built by the component if the filter need to be applied on a Nullable or Nullable in database


🔄 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/radzenhq/radzen-blazor/pull/1812 **Author:** [@tale80](https://github.com/tale80) **Created:** 11/26/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `datafilter-nullable-datetime` --- ### 📝 Commits (1) - [`4e06a50`](https://github.com/radzenhq/radzen-blazor/commit/4e06a50a684adc1d846120598ff45a32ce22d7c5) Handle nullable date type in queryable extension. ### 📊 Changes **1 file changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/QueryableExtension.cs` (+6 -1) </details> ### 📄 Description Added a check to handle properties of nullable date types by accessing their `Value` property when filtering. This ensures that the filtering logic works correctly with nullable dates. This PR correct an incorrect request built by the component if the filter need to be applied on a Nullable<DateTime> or Nullable<DatetimeOffset> in database --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:21:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2909