How do we use this module?

Created on 1 May 2024, 9 months ago

How do we use this module? It isn't explained on the project page and there is no README file.

The README file in progress at https://www.drupal.org/project/date_filter/issues/3339097 πŸ“Œ Missing README.md file RTBC does not explain how to use the module. It says "After adding the Views Date Filter..." without explaining how to add the Views Date Filter.

How do I add a "Views Date Filter" to a view? After enabling this module, where should I expect to see the "Views Date Filter" in the GUI for my view's settings?

Thank you for your help.

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States arnoldbird

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

Comments & Activities

  • Issue created by @arnoldbird
  • ivnish Kazakhstan

    Just add any date filter, for example "authored on" for node

  • πŸ‡ΊπŸ‡ΈUnited States drupgirl

    +1.

    After adding Authored on as a filter, there no changes to the interface. I am not able to realize step #7 in the Configuration section of the Read me, the date field filter added above now allows to select date from the Datepicker calender instead of the default input field provided by core.

  • πŸ‡¨πŸ‡¦Canada plousia

    +2. I also want to use this for an authored on filter and can't see any way to do that in the UI, either with views basic exposed filters or better exposed filters.

  • πŸ‡ΊπŸ‡¦Ukraine zegmant

    +1

  • πŸ‡¨πŸ‡¦Canada leducdubleuet Chicoutimi QC

    I was also under the impression this module was not doing anything as well.

    As it turned out, I had the date_popup module enabled and it "wins" over the date_filter module so it is always used for exposed date views filter.

    I was able to identify the conflict with this drush command :

    drush php-eval "var_export(\Drupal::service('plugin.manager.views.filter')->getDefinition('date'))";
    
    array (
      'plugin_type' => 'filter',
      'id' => 'date',
      'class' => 'Drupal\\date_popup\\DatePopup',
      'provider' => 'views',
    )
    

    After disabling the date_popup module, date_filter was able to do its job properly!

    Maybe my experience can help someone else landing here like I did...

    Thanks for this great module!

Production build 0.71.5 2024