-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This expands job listing meta and term search to have similar functionality to WP core's search. As the core's search includes clauses that are aggregated with ORs and ANDs, the only way to include meta fields in this search was to rebuild the search query from scratch. With this change, get_job_listings_keyword_search generates the clauses that are generated in WP_Query::parse_search and adds additional clauses that search the post meta and terms.
- Loading branch information
Showing
2 changed files
with
150 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters