Problem/Motivation

It doesn't seem to work with the Search API index view and "Authored on" indexed field.
The new option doesn't even appear on the "Value type" list.

Steps to reproduce

1. Drupal core version 9.0.9
2. Search API module installed (8.x-1.18).
3. Couple of fields indexed (Authored on one of them)
4. Index view created.
5. Filter criteria "Authored on" exposed. Can't see "Value type" date_year "A date in yyyy format.".

Any plan to implement such a possibility?

Thanks!

Comments

andrpetk created an issue. See original summary.

andpet’s picture

Issue summary: View changes
abjih’s picture

StatusFileSize
new3.41 KB

Hello @andrpetk,
i attach a patch here can you please test it ?
Thanks !

berramou’s picture

StatusFileSize
new3.91 KB

Fix patch + Drupal CS fix

  • berramou committed 9bd26f7 on 8.x-1.x
    Issue #3187682 by abjih, berramou: Index view exposed date field value...
berramou’s picture

Thank you @abjih Nice work !
Committed.

berramou’s picture

Status: Active » Fixed
berramou’s picture

Status: Fixed » Closed (fixed)