Hi,
I’m setting up a past events search page for one of our departments, and I was able to add a search option that works and looks through all parts of an event widget for the search term. However, I can’t seem to make it do anything but a single term/phrase search. The + condition for it to search for two separate terms that might exist within an event does not seem to work. For example, searching for Antitrust returns all events that have it in the title/summary/description (including ones from 2024), or searching for 2024 returns all events from 2024 (including Antitrust titled events), but Antitrust + 2024 (or Antitrust +2024) does not return anything.
I followed the basic setup from our main search page and am using the following as my search conditions/filters in that event widget:
<arg id="filter_mode">any</arg>
<arg id="filter" name="title" action="matches"><xphp var="search" type="GET"/></arg>
<arg id="filter" name="summary" action="matches"><xphp var="search" type="GET"/></arg>
<arg id="filter" name="description" action="matches"><xphp var="search" type="GET"/></arg>
<arg id="filter" name="date_dt" action="matches"><xphp var="search" type="GET"/></arg>
This works fine for single terms/phrases/years, but as soon as I want to search for a keyword term (in any of the filtered fields) + year, it does not work. Is there another way to set up my search filters/conditions? I am using the + and - options to search/subtract in my search tests the way it’s stated on the search doc page, but should I be using something else instead?
After I typed all this out, I realized one of the suggested tickets from September 2024 that popped up seems to be not exactly the same but similar to what I’m trying to do (Widget filter_mode). Is it actually still the same thing, and therefore not doable in a custom widget search yet for multiple filter terms i.e. looking into two separate filters at the same time? If so, are there any other suggestions for cross-filtering/going more granular with disparate non-sequential terms in a search setup? Any help is appreciated, thank you!