Maybe nothing, but odd behavior of quick search

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
bekateen
Posts: 8955
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:39)
My aquaria list: 36 (i:13)
My BLogs: 44 (i:149, p:2653)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Maybe nothing, but odd behavior of quick search

Post by bekateen »

Hi Jools,

I noticed today that the Quick Search tool has developed an odd behavior when looking for L numbers vs. C/CW numbers that don't exist.

For the C number I tried (C200), the quick find previewed no images and the search said "no search results found." But for a random L number I tried L519 (which actually does exist but it's so new, that it's not in our catalog), I found several hits that have nothing to do with the real L519. I searched those pages for text that might create the confusion, but found none.

Maybe nothing to do about this, but I thought it was odd that the search would treat a nonexistent C number different than a nonexistent L number.

Go figure.... :YMPEACE:

Cheers, Eric
Attachments
quickfind.png
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
User avatar
Jools
Expert
Posts: 15978
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Maybe nothing, but odd behavior of quick search

Post by Jools »

This is a doozie. So, it's because the common name ends with l and the common name ID number begins with 519. In these four it's something like 5192, 5193 etc. The way the quick find is coded was to ensure species with the same common name appear in quick find separately, all this is important, but it produced this side effect.

Anyway, I've made a change that fixed this. It was a bug in how we indexed data for the quick find, so another one squished!

Jools
User avatar
bekateen
Posts: 8955
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:39)
My aquaria list: 36 (i:13)
My BLogs: 44 (i:149, p:2653)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Maybe nothing, but odd behavior of quick search

Post by bekateen »

Wow, I wouldn't have figured that out so quickly.

Thanks, Jools!

Cheers, Eric
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
Post Reply

Return to “All Resolved Issues”