3

I have a view like as follows using exposed fliter fields in d6 , how can i recreate like that in d8 ?

Here the from date and to date is to be selected and result will come accordingly

for the date . Here the date field is exposed filter .

view page : enter image description here

and in view enter image description here

How can i recreate a form like this using view in D8 ?

For the same purpose in d8 i have only this option : Any help is appreciated .

enter image description here

3

1) Checkmark ☑ expose filters

2) Select Single Filter

3) Select is between

enter image description here

which will result in

enter image description here

Unfortunately there is no way to do it in drop downs like you have it until the better exposed filters module gets ported.

Well you could do it in Drop downs using Group Filter with is between, but you would only be able to do it by year only though.

  • I am getting the error after saving the grouped field InvalidArgumentException: The configuration property display.page_1.display_options.filters.field_deployment_date_value.group_info.group_items.1.value.type doesn't exist. in Drupal\Core\Config\Schema\ArrayElement->get() (line 79 of core/lib/Drupal/Core/Config/Schema/ArrayElement.php) – Crazyrubixfan Jun 1 '16 at 8:45
  • I am getting error again while saving the grouped filters. display.page_1.display_options.filters.field_deployment_date_value.group_info.group_items.1.value.type – Crazyrubixfan Jun 1 '16 at 9:19
  • 1
    @Icecreamsandwich eeerrr, looks like we ran into a Drupal 8 bug :( – No Sssweat Jun 1 '16 at 9:47
  • Yes , that field (field_deployment_date_value) already exists there . – Crazyrubixfan Jun 1 '16 at 9:50
  • @Icecreamsandwich I have reported the bug Date Filter is broken – No Sssweat Jun 1 '16 at 10:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.