Allow users to use advanced search without keywords entered

Created on 14 April 2011, about 14 years ago
Updated 16 April 2025, 6 days ago

Problem/Motivation

When using Advanced Search on a Node search page, you have to enter keywords even if there are other valid search conditions chosen. You shouldn't have to.

See also
✨ Allow wildcards like * in search Postponed: needs info
which had a similar original request but has been changed to be an issue about supporting wildcards in the keyword field (because wanting wildcards in searches is a common feature request).

Proposed resolution

Make it so that you do not have to enter keywords in order to search, if there are other conditions present.

Remaining tasks

Patch with test.

User interface changes

Users will be able to use Advanced Search for things like taxonomy and node type, without entering keywords.

API changes

The search query will support searches without keywords.

Original report by pwolanin

Late in the 7.x cycle we added the notion of non-keyword search conditions. Seems like we didn't quite finish that patch.

Search module for either the search block or main search form will print the error 'Please enter some keywords.' even if the module implementing the search hooks has satisified some conditions and will run a search.

✨ Feature request
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

search.module

Created by

πŸ‡ΊπŸ‡ΈUnited States pwolanin

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

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

    Thank you for sharing your idea for improving Drupal.

    We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024