imthebest
Well-known member
Hi,
I'm using XF 1.4.6 and XFES 1.1.2.
Today I noticed that a former moderator (which has a lot of posts and threads) isn't getting the proper results when executing:
search/member?user_id=x&content=thread
search/member?user_id=x&content=post
search/member?user_id=x
Where x is the userid of that former moderator.
For example when I execute (logged in as admin) the first search query mentioned above I get 200 search results and if I go to page 10 I can click on "search more results" to keep finding more threads by that former moderator. However now as a guest, as a regular member or as the former moderator logged in, when executing the same query I only get 13 search results with no link to "search for more results".
The problem appears to be that this former moderator has a lot of content on a node that isn't public, however not all of his content is posted on that particular node so the search results should return definitely way more than just 13 records.
It looks like the search system gets "confused" and doesn't properly handles the search results when the guy performing the search (be it a guest, a registered member or the former moderator itself) doesn't have permissions to access some of the nodes where the content resides on.
Thanks,
Super120
I'm using XF 1.4.6 and XFES 1.1.2.
Today I noticed that a former moderator (which has a lot of posts and threads) isn't getting the proper results when executing:
search/member?user_id=x&content=thread
search/member?user_id=x&content=post
search/member?user_id=x
Where x is the userid of that former moderator.
For example when I execute (logged in as admin) the first search query mentioned above I get 200 search results and if I go to page 10 I can click on "search more results" to keep finding more threads by that former moderator. However now as a guest, as a regular member or as the former moderator logged in, when executing the same query I only get 13 search results with no link to "search for more results".
The problem appears to be that this former moderator has a lot of content on a node that isn't public, however not all of his content is posted on that particular node so the search results should return definitely way more than just 13 records.
It looks like the search system gets "confused" and doesn't properly handles the search results when the guy performing the search (be it a guest, a registered member or the former moderator itself) doesn't have permissions to access some of the nodes where the content resides on.
Thanks,
Super120