Bug report
Title
Activities view: Date filters ("Scheduled From/To") fail for ranges, working only on exact single-date match
Issue Description
The "Scheduled From" (Agendado de) and "Scheduled To" (Agendado até) filters on the Activities screen (/admin/activities) are not functioning as a date range filter.
They only return results if both "From" and "To" are set to the exact same date as the activity. If a range is selected (e.g., entire month) that includes the activity date, the system returns zero results on the screen.
Preconditions
Environment details:
- Framework Version: Krayin CRM v2.1.5
- Deployment: Docker (image
webkul/krayin) exposed via Traefik.
- Browser/OS: Chrome / Firefox.
Steps to reproduce
- Create an Activity scheduled for a specific date (e.g., 2025-10-15).
- Navigate to the Activities list view (
/admin/activities).
- Test 1 (Range - Fails): Set "Scheduled From" to
2026-01-26 and "Scheduled To" to 2026-02-01. Or set only one of the fields.
- Test 2 (Exact Match - Works): Set "Scheduled From" to
2026-01-26`` and "Scheduled To" to 2026-01-31`.
- Result: The activity is displayed.
Expected result
The filter should accept a date range. Test 1 should display the activity because Jan 26th is within the Jan 1st - Jan 31st range.
Actual result
The filter logic seems to be checking for an exact match on the date parameters rather than a "Greater Than / Less Than" condition.
- Range Query (From X to Y): Returns N records, but no show on the screen.
- Exact Query (From X to X): Returns records.
krayin.yaml
Bug report
Title
Activities view: Date filters ("Scheduled From/To") fail for ranges, working only on exact single-date match
Issue Description
The "Scheduled From" (Agendado de) and "Scheduled To" (Agendado até) filters on the Activities screen (
/admin/activities) are not functioning as a date range filter.They only return results if both "From" and "To" are set to the exact same date as the activity. If a range is selected (e.g., entire month) that includes the activity date, the system returns zero results on the screen.
Preconditions
Environment details:
webkul/krayin) exposed via Traefik.Steps to reproduce
/admin/activities).2026-01-26and "Scheduled To" to2026-02-01. Or set only one of the fields.2026-01-26`` and "Scheduled To" to2026-01-31`.Expected result
The filter should accept a date range. Test 1 should display the activity because Jan 26th is within the Jan 1st - Jan 31st range.
Actual result
krayin.yaml