Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] SimpleSearch with includeTVs not show all resource. #48

Open
FerX opened this issue Feb 27, 2018 · 1 comment
Open

[Bug] SimpleSearch with includeTVs not show all resource. #48

FerX opened this issue Feb 27, 2018 · 1 comment

Comments

@FerX
Copy link

FerX commented Feb 27, 2018

Modx 2.6.1
SimpleSearch 1.9.2

By activating the search on the TV the result includes only the resources that do not have the TV empty.

in this way, if a resource has no content in the TV, it is not included in the results, although there are matches in content!!!

[[!SimpleSearch? 
  &containerTpl=`chSearch`
  &tpl=`chSearchEl`
  &highlightClass=`search-highlight`
  &andTerms=`0`
  &includeTVs=`1`
  &includeTVList=`tvTag`
 ]] 
@rachelmayo
Copy link

Seconding what @FerX says! When I use &includeTVs, my search results come back empty except for the ONE page that uses any TVs I mentioned. The search should be pulling results normally PLUS that extra page, not excluding everything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants