WordPress.org

Making WordPress.org

Opened 7 weeks ago

Closed 7 weeks ago

#4777 closed defect (fixed)

Bug in your forum search function

Reported by: donmck2017 Owned by:
Milestone: Priority: normal
Component: Support Forums Keywords:
Cc:

Description

Hi all,

Having quite a job getting a contact point for this problem. I am a customer, not a developer. Just want the search function to work on my developers forum.

there is a bug in your search function and this is explained at:
https://wordpress.org/support/topic/search-bug-in-your-wp-org-forum/#new-topic-0

Search is mixing up double and single quotes. Hope this can be fixed.

thanks

Cheers Don...

Message from the developer :

It seems to be very strange. actually, it is not in our control. When we search “listings”, the following is put into google

listing+intext:”Plugin:+Advanced+Classifieds+&+Directory+Pro”

And there is no result. But strangely, if we replace the double quotes with single quotes, it’s working.

listing+intext:’Plugin:+Advanced+Classifieds+&+Directory+Pro’

Attachments (2)

search-tabs-ok.png (30.8 KB) - added by ocean90 7 weeks ago.
search-tabs-missing.png (46.4 KB) - added by ocean90 7 weeks ago.

Download all attachments as: .zip

Change History (8)

#1 @Otto42
7 weeks ago

  • Milestone Improved Search deleted
  • Resolution set to invalid
  • Status changed from assigned to closed

No, actually, double quotes is correct. If you use single quotes, then the intext: part doesn't work because Google expects double quotes there. Using single quotes will give you more results, but won't restrict it to the pages we're trying to have it restricted to there.

#2 @ocean90
7 weeks ago

  • Component changed from General to Support Forums
  • Resolution invalid deleted
  • Status changed from closed to reopened

Double quotes are correct, but the actual value in the search input is listing+intext:"Plugin:+Advanced+Classifieds+&+Directory+Pro" while it should be listing intext:"Plugin: Advanced Classifieds & Directory Pro". Looks like a URL decode/encode issue. The tabs on this specific search are also missing

#3 @ocean90
7 weeks ago

#4780 was marked as a duplicate.

#4 @Otto42
7 weeks ago

Ah, the space conversions. Okay, that's fixable. Not sure what's causing the labels to mess up, but I'll take a look.

#5 @Otto42
7 weeks ago

Fix for urldecoding in dotorg:15439

#6 @Otto42
7 weeks ago

  • Resolution set to fixed
  • Status changed from reopened to closed

The labels seem to be working now. I recreated the "Sites to search" in the GCE configuration and it appears to have done the trick.

Note: See TracTickets for help on using tickets.