1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Future Fix Search threads started by this member only does not work

Discussion in 'Future-Fix Bug Reports' started by AndyB, Apr 9, 2013.

  1. AndyB

    AndyB Well-Known Member

    If I try to search by "Search threads started by this member only" selected, the results are always "No results found".

    See thumbnail of search criteria to duplicate this bug.

    If I uncheck the the "Search threads started by this member only", I get two results with both threads being started by Xenforo.

    Attached Files:

    woody, jauburn and TeflonDon like this.
  2. James

    James Well-Known Member

    I received the same result, but when I use different keywords I can search as normal.

    Try this:

    Keywords: search

    Then posted by XenForo, results by that user only.

    Does it process OK for you?
  3. AndyB

    AndyB Well-Known Member

    Hi James,

    I get the same result as you searching for just one word (it works). It appears searching with quotes on multiple words is the bug.
  4. James

    James Well-Known Member

    Nope, I just did a search for "enhanced search" by XenForo, results by user only and it returned results.
    Still digging.
  5. James

    James Well-Known Member

    Someone will need to confirm this but I think the bug is that when you tick "Search threads started by this member only" it also only searches titles only.

    To reproduce:
    Keywords: "xenforo add-on" (seen here, line 4)
    Posted by: XenForo
    Search threads started by this member only.

    If you replace the above keywords with just add-on, it will only return one thread and that has add-on in its title, hence adding to my theory.
  6. AndyB

    AndyB Well-Known Member

    Good troubleshooting, James.

    Looks like you will always get (No results found) if you search by:

    1) Multiple words
    2) Posted by Member
    3) Search threads started by this member only
  7. James

    James Well-Known Member

    It's not that you will get no results found, it'll just only search thread titles. It will still return results as long as the keywords are in the thread title (which shouldn't be the case as it should search thread content too).
  8. AndyB

    AndyB Well-Known Member

    Thank you for the clarification. I just assumed you can only search for thread title or post content but not both.
  9. Mike

    Mike XenForo Developer Staff Member

    In general, there are a couple things that are misleading with this, somewhat based on the wording of the checkbox. What James says is effectively right - it's only searching titles. Well actually, it's only searching the thread itself, which doesn't include the post content within, just the thread title.

    This isn't ES related; it's the general feature. Changing this would require indexing things differently (or at least changing the wording of that option). I don't think the option is that useful as is, so moving to handle for the future.
  10. AndyB

    AndyB Well-Known Member

    Last edited: Dec 16, 2013
    thedude likes this.
  11. Mike

    Mike XenForo Developer Staff Member

    There's still a future fix here, but the option has been hidden in 1.3 since it completely didn't do what was expected based on the wording.
  12. AndyB

    AndyB Well-Known Member

  13. Amaury

    Amaury Well-Known Member

    I actually never had any problems with this.
  14. AndyB

    AndyB Well-Known Member

    Hi Mike,

    The change you made by hiding the "Search threads started by this member only" check box is just as bad. Here's an example.


    This search will not find the post above (post #13) where Amaury posted the word "problems".

    Apparently if you use the Posted by Member field, it will only find posts that the member started.
  15. Amaury

    Amaury Well-Known Member

    Strange. It worked for me:

  16. AndyB

    AndyB Well-Known Member

    I stand corrected. It's easy to get confused when troubleshooting.

    So the temporary solution that Mike came up with is not too bad. We don't have the option to "Search threads started by this member only" at this time, but that isn't such a bad thing.
    Brent W likes this.
  17. Mike

    Mike XenForo Developer Staff Member

    The point is it never actually worked correctly. It was actually no different than simply searching titles only.
  18. AndyB

    AndyB Well-Known Member


    What my add-on does is change the behavior so it searches post content instead, which made sense and is useful.

    I know that ideally it would search titles and post content where the thread was started by the user(s).
  19. Amaury

    Amaury Well-Known Member

    Was it, perhaps, a user by user basis, Mike? Like I posted earlier, I never had trouble with it.
  20. James

    James Well-Known Member

    The original bug report didnt work correctly, Andy was just mistaken the second time around.
    wow and Amaury like this.

Share This Page