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: 7240
Joined: Tue Sep 09, 2014 5:50 pm
I've donated: $40.00!
My articles: 4
My images: 76
My cats species list: 111 (i:37, k:46)
My aquaria list: 29 (i:13)
My BLogs: 36 (i:125, p:1867)
My Wishlist: 39
Spotted: 136
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
http://youtube.com/user/Bekateen1
Would you like to buy my fish? Click HERE for prices.
Buying caves from https://plecocaves.com? Plecocaves is now sponsoring Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
User avatar
Jools
Expert
Posts: 15202
Joined: Mon Dec 30, 2002 3:25 pm
My articles: 193
My images: 914
My catfish: 239
My cats species list: 89 (i:0, k:6)
My aquaria list: 2 (i:2)
My BLogs: 7 (i:5, p:194)
My Wishlist: 20
Spotted: 985
Location 1: M8
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: 7240
Joined: Tue Sep 09, 2014 5:50 pm
I've donated: $40.00!
My articles: 4
My images: 76
My cats species list: 111 (i:37, k:46)
My aquaria list: 29 (i:13)
My BLogs: 36 (i:125, p:1867)
My Wishlist: 39
Spotted: 136
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
http://youtube.com/user/Bekateen1
Would you like to buy my fish? Click HERE for prices.
Buying caves from https://plecocaves.com? Plecocaves is now sponsoring Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
Post Reply