Conflict with Smart Date

Created on 30 June 2025, about 1 month ago

Problem/Motivation

As follow-up for comments on 💬 How do we use this module? Active :

While testing several views date related modules, I noticed that the Smart Date overrules this module for date fields, as

  • both modules use the same hook to alter the date filter plugin
  • neither module alter their weight, so by natural order smart_date 'wins'

Steps to reproduce

  • Install both modules
  • Have a content type with a date field
  • Have a view with the date field as exposed filter
  • Notice this view filter plugin not being used

Proposed resolution

Since Smart Date provides its own views filter plugin, it might be save to assume anyone also install this module wants to use this module's view filter.
In that case, increasing this module's weight solves the problem.

A less forcefull option could be to put a warning on the status page when Smart Date is present, explaining the problem etc. But this won't be of any help to user who install using Project Browser

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium andreasderijcke Antwerpen / Gent

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024