Advertisement:

Author Topic: SMF 2.0.8: Search bug  (Read 3621 times)

Offline Kolya

  • Full Member
  • ***
  • Posts: 427
  • systemshock.org
SMF 2.0.8: Search bug
« on: August 04, 2014, 11:41:14 AM »
Not checking "Show results as messages" yields less results, all other things being the same.

Expected outcome: No change in number of results, only in the way they are displayed.

Reproducing: See screenshots.

Offline Kolya

  • Full Member
  • ***
  • Posts: 427
  • systemshock.org
Re: SMF 2.0.8: Search bug
« Reply #1 on: August 04, 2014, 12:12:12 PM »
On further inspection it looks like checking "Show results as messages" will display every matching post.
NOT checking "Show results as messages" will display only the first result from each thread which contains matches in multiple posts.

Now you may think this is useful for something of which I'm not sure what it would be.
But in any case this clearly violates the Principle of least astonishment.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,932
    • StoryBB/StoryBB on GitHub
Re: SMF 2.0.8: Search bug
« Reply #2 on: August 04, 2014, 12:16:53 PM »
* ‽ completely agrees on the last point
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Kolya

  • Full Member
  • ***
  • Posts: 427
  • systemshock.org
Re: SMF 2.0.8: Search bug
« Reply #3 on: August 04, 2014, 12:23:39 PM »
I suggest to rename that option to "Show all results from each topic, incl. full message text"

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,932
    • StoryBB/StoryBB on GitHub
Re: SMF 2.0.8: Search bug
« Reply #4 on: August 04, 2014, 12:27:03 PM »
Given that renaming 'child boards' to 'sub-boards' was incredibly controversial, I'd be highly surprised to see this happen in 2.1 (and won't happen in 2.0 at all)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Kolya

  • Full Member
  • ***
  • Posts: 427
  • systemshock.org
Re: SMF 2.0.8: Search bug
« Reply #5 on: August 04, 2014, 01:59:56 PM »
Well the better solution would be to separate the two options that have been silently combined here:
1. Show results as messages
2. Show all results from each topic

Offline byproduct

  • Semi-Newbie
  • *
  • Posts: 82
Re: SMF 2.0.8: Search bug
« Reply #6 on: August 08, 2014, 08:46:38 PM »
no better than search and calendar works, I'd suggest completely removing to save server resources, space, & trouble.