I have a few fields in a template, and two of them have template name restrictions. Using the restriction, I get 0 results, and when removed I get all the items I want (plus others I don't)
With templatename or templateid filter:
Without filter:
My drop-link source:
query:/sitecore/content/Americas/SmartSite/Data/Navigation//*[@@templatename='Navigation Items']
I've tried replacing template name with templateid
and I get the same result. This only happens in the QA environment, not DEV or local.
When I run the query in XPath Editor I get the results that I expect.
The last suspicious thing is that after saving my template definition, the logs state that indexes were built within a second. That would be the only fast thing about this instance