Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Although there are two items found for one specific content type, facet search displays (1) after that type, how is this possible?
Please take a look at the attached picture
Comment | File | Size | Author |
---|
Comments
Comment #1
nielsvoo CreditAttribution: nielsvoo commentedOke i noticed the admin count work well after that i struggled with the node rights and noticed that when enabling "Bypass content access control" for the authenticated user (al my users are logged in) the counts do work, but this is not a great solutions becouse they now can edit all pages.
Please can you fix this?
Comment #2
nielsvoo CreditAttribution: nielsvoo commentedOke, again i am one step further. The conflict occurs when the module Content Access is enabled.
I think the facet counts only work on core rights. is there a possibility for you to make it work with this access module also?
Comment #3
nielsvoo CreditAttribution: nielsvoo commentedPlease!!! help me with this issue,
also the Flag friend access control to limit node types function in the flag friend module is buggy with counting nodes....
Thank you
Niels
Comment #4
cpliakas CreditAttribution: cpliakas commentedHi Niels.
There is a lot of complex SQL happening here, so my guess is that the node access system isn't being leveraged on some of the subqueries. I would take a look at the FacetapiQuery::execute() method, specifically the $subquery query on line 94 and ensure the appropriate access controls are implemented.
Thanks,
Chris
Comment #5
nielsvoo CreditAttribution: nielsvoo commentedOke Chris thanks,
Maybe a solution will be for someone else, i implemented the solr search server, this one works fine with the other modules!
Niels
Comment #6
cpliakas CreditAttribution: cpliakas commentednielsvoo,
Good choice :-) Solr is definitely best-in-breed here, the purpose of this module is to provide a better starting point for people who are testing or can't use Solr or another external search engine for one reason or another.
Thanks again for reporting,
Chris
Comment #6.0
cpliakas CreditAttribution: cpliakas commentedText