I'm configuring an RSS feed in Sitecore, and I'm using a query to select my items. I have a huge number of articles under /sitecore/content/articles/issues
organized into folders by year (e.g. /2010, /2011, /2012...) The issue is that the RSS feed needs to include articles from 2019 AND 2020, but NOT from any of the other years. All of the articles are of the same template. Is it possible to use an OR statement in a fast query to choose path a OR path b?
This is my query currently :
query:/sitecore/content/Issues/2020//*[@@templateid='{DF4B07BF-922B-4CC0-9C1E-CFDC3750323C}']
...which obviously only gets articles from 2020, vs this, which gets articles from 2010-2020 :
query:/sitecore/content/Issues//*[@@templateid='{DF4B07BF-922B-4CC0-9C1E-CFDC3750323C}']
Ideally I need a way to do something like this :
query:/sitecore/content/Issues/2019//*[@@templateid='{DF4B07BF-922B-4CC0-9C1E-CFDC3750323C}'] OR /sitecore/content/Issues/2020//*[@@templateid='{DF4B07BF-922B-4CC0-9C1E-CFDC3750323C}']