Jump to content

[BUG] New search form doesn't allow search for size "Not Chosen"


MartyBartfast

Recommended Posts

Subject says it all really.

 

Using the new search form one can select only the following sizes to search by:

 

  1. Micro
  2. Small
  3. Regular
  4. Large
  5. Other

 

"Not Chosen" and Virtual aren't selection options, but both are valid size selections for caches. Perhaps there's an argument for not including Virtual as they are nolonger permitted and Virtual is available as a cache type, but there should be the ablility to search for size "Not Chosen"

Edited by MartyBartfast
Link to comment

[...]

"Not Chosen" and Virtual aren't selection options, but both are valid size selections for caches. [...]

 

The search result for size "Other" includes the sizes virtual and not chosen as well. I just tested it. ;-)

Caution: The resulting list lists those caches with the wrong size. Check it on the cache page itself.

List:

https://www.geocachi...1&g=140&sizes=6

Cache:

https://www.geocachi...HDHQ_lebenslauf

 

Hans

Edited by HHL
Link to comment

Subject says it all really.

 

Using the new search form one can select only the following sizes to search by:

 

  1. Micro
  2. Small
  3. Regular
  4. Large
  5. Other

 

"Not Chosen" and Virtual aren't selection options, but both are valid size selections for caches. Perhaps there's an argument for not including Virtual as they are nolonger permitted and Virtual is available as a cache type, but there should be the ablility to search for size "Not Chosen"

 

I would not expect Virtual to be available when selecting the size. Virtual is a cache type, not a cache size. I would think that selecting virtual would ignore the cache size filter but a search for virtual caches when I don't put anything in the search box returns 4261 results. If I uncheck "other" for the size filter I still get back 5 results. A virtual cache doesn't have a container. Changing the size filter shouldn't change the number of the results at all. It looks like there are 5 virtual caches that somehow have their size set to "regular" and the rest use "other".

Edited by NYPaddleCacher
Link to comment

 

...

I would not expect Virtual to be available when selecting the size. Virtual is a cache type, not a cache size.

...

 

As I said I could understand them not considering that for a size selection criteria, but Virtual is used as a cache size:

 

PQ's allow you to select as container (synonym for size):

 

  • Small
  • Large
  • Micro
  • Other (see description)
  • Regular
  • Unknown
  • Virtual

 

Unknown in that selection list is a synonym for "Not Chosen".

 

There are 184 results returned in the UK by a PQ for "Virtual" size without specifying any other selection criteria.

Look at this cache for example, the size is listed as "(virtual)" beside the size icon.

 

https://www.geocaching.com/geocache/GCED4_islays-first

 

Edit to add:

I realise that in the above they're technically talking about the container type, not the container size. In which case the search boxes should use consistent terminology, it's confusing to use "Size" on some pages and "Container" on others when they're all describing the same characteristic.

Edited by MartyBartfast
Link to comment

...

I would not expect Virtual to be available when selecting the size. Virtual is a cache type, not a cache size.

...

 

As I said I could understand them not considering that for a size selection criteria, but Virtual is used as a cache size:

 

PQ's allow you to select as container (synonym for size):

 

  • Small
  • Large
  • Micro
  • Other (see description)
  • Regular
  • Unknown
  • Virtual

 

Unknown in that selection list is a synonym for "Not Chosen".

 

There are 184 results returned in the UK by a PQ for "Virtual" size without specifying any other selection criteria.

Look at this cache for example, the size is listed as "(virtual)" beside the size icon.

 

https://www.geocachi...D4_islays-first

 

Edit to add:

I realise that in the above they're technically talking about the container type, not the container size. In which case the search boxes should use consistent terminology, it's confusing to use "Size" on some pages and "Container" on others when they're all describing the same characteristic. It doesn't looked like we can select "Not Chosen" (aka unknown) any more, nor can we search (using the search form) for caches which had "Unknown" for the cache size.

 

I don't think I've ever seen a cache like that with "virtual" listed for the size. I see that the PQ search form still lists Virtual as a "size" *and* as a cache type. It's probably been like that for a long time and I don't ever recall seeing anyone mention it.

 

 

Link to comment

182,84 km - TROLL (Virtual) (GCKX13) by TinyZorro

196,13 km - Warum die Nordsee so wild und salzig ist? (Virtual) (GCGETR) by York, Thomas, Anette und Doro

219,32 km - Nice View (Virtual) (GCB854) by PoulsenDK

244,54 km - Irrungen und Wirrungen (Virtual) (GCGQD3) by Hega & Claudia, Twist & Co.

274,07 km - Kaiserspförtchen (Virtual) (GCC1D7) by countryjoke

277,48 km - Samsø Maze (Virtual) (GCKTWH) by Lowe

283,28 km - Birdwatch (Virtual) (GCHMC0) by smeagol

287,84 km - Checkpoint Herlev (Virtual) (GCFA36) by Gundrup

359,51 km - Portal to the Past (Köln) (Virtual) (GC5B4A) by Moun10Bike

374,75 km - The Eye of the Dragon (Virtual) (GC5932) by JBzHOW

Link to comment

 

There are 184 results returned in the UK by a PQ for "Virtual" size without specifying any other selection criteria.

Look at this cache for example, the size is listed as "(virtual)" beside the size icon.

 

 

I don't think I've ever seen a cache like that with "virtual" listed for the size. I see that the PQ search form still lists Virtual as a "size" *and* as a cache type. It's probably been like that for a long time and I don't ever recall seeing anyone mention it.

 

The 184 caches returned (for the UK) by the PQ I created above all have Virtual listed for the size.

 

I just modified the PQ to be centred on one of your own caches and found 727 with size Virtual within 500 miles of GC1MCT7, the closest being :

 

https://www.geocaching.com/geocache/GC15C6_andreas-charm

 

However this is something of a digression, I think the terminology and search criteria across the various pages should be consistent but being able to search for a "Virtual" size isn't that important to me as it can (largely) be achieved by searching for a cache type of Virtual, however that falls down in the situations you noted above where Virtual caches have been listed with a size of "Regular".

 

 

The more important bug is that the new search should provide a mechanism to search for size "Not Chosen"/Unknown and it doesn't permit that.

 

Edit to pedantically correct a split infinitive ;)

Edited by MartyBartfast
Link to comment

The more important bug is that the new search should provide a mechanism to search for size "Not Chosen"/Unknown and it doesn't permit that.

 

I completely agree.

 

When using any sort of search form that allows multiple criteria, each form element will represent an "named" attribute sent to the search URL. In this case, the attribute is "sizes" and can have one (or more) values. Although the Labels on the form may be Strings (Micro, Regular, etc) the size in the backend database is stored as an integer value (this is common for select list or checkboxes).

 

If you go to search form and just select "Micro" for the size you'll see that it generate a URL with sizes=2

 

https://www.geocaching.com/play/search?ot=4&sizes=2

 

Select just one size in the search form for each box and you'll see that:

 

2=micro

3=regular

4=large

6=Other

8=small

 

But what if you enter size equal to a 1, 5, or 7?

 

Setting it to 7 returns zero results. There are no caches with an integer value of 7 (or higher than 8) for the size.

 

Setting it to 1 will return a list of caches where the *Label* for size is Other but if you look at any of the caches in the results you'll find the they're all marked as "Unknown/Not Chosen". Setting sizes=5 actually returns a list of caches have the cache size of "virtual".

 

So you *can* search for caches with an "Not Chosen/Unknown" or those with "Virtual" for the size but you can't do it directly from the form and have to hand edit the search URL manually.

 

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...