Loading...
 
 Error
  • Elasticsearch flush error: Validation Failed: 1: id is too long, must be no longer than 512 bytes but was: 915;2: id is too long, must be no longer than 512 bytes but was: 683;3: id is too long, must be no longer than 512 bytes but was: 576;4: id is too long, must be no longer than 512 bytes but was: 606;
 Error
  • The search index could not be updated. The site is misconfigured. Contact an administrator.
    Validation Failed: 1: id is too long, must be no longer than 512 bytes but was: 915;2: id is too long, must be no longer than 512 bytes but was: 683;3: id is too long, must be no longer than 512 bytes but was: 576;4: id is too long, must be no longer than 512 bytes but was: 606;
Features / Usability

Features / Usability


How to display a dropdown with item field date in a customSearch

posts: 8488 Israel

Hello,

Using a customSearch I want to display a list of item that have a field date.
For exemple:
tracker_field_attendancereportsDate => "2021-10-28"
object_type => "trackeritem"
object_id => "6056"

tracker_field_attendancereportsDate => "2021-10-28"
object_type => "trackeritem"
object_id => "6055"

tracker_field_attendancereportsDate => "2021-10-26"
object_type => "trackeritem"
object_id => "6054"

I would like to filter by single date but not range of dates using a dropdown to display "this" month available dates and have the dropdown populated.

Dropdown options:
blank
2021-10-28
2021-10-27
etc...

I can't find a way...

I have also tried from a mathematical formula... no joy.
But I'm dam sure it should be doable...