Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I think that if I check only one content type in the CONTENT settings page there is no reason to show a drop down to final user in the search options ("any" doesn't have to be present in this case I think, because my intention is to restrict search ONLY for one content type)
Thank you
Comments
Comment #1
jdanthinne CreditAttribution: jdanthinne commentedGood idea.
Please test it tomorrow when DEV is regenerated.
Comment #2
MXTOk it works very well
Thank you!
Comment #3
jdanthinne CreditAttribution: jdanthinne commentedComment #5
Sansui CreditAttribution: Sansui commentedCan there be an option to include "Any"? I want to restrict my search options to one of two options - "Any" or "My Custom Content Type". Currently this is not possible - you would have to select at least two content types in order to also have "Any", presumably due to this change.
Comment #6
jdanthinne CreditAttribution: jdanthinne commentedOk, just added an option to force -Any- to be included when only one content type is selected.
Please download DEV version and review.
Comment #7
jdanthinne CreditAttribution: jdanthinne commented