Bug with Search Feature

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:points: :-D :eyeroll: :neutral: :nmr: :razz: :raging: :-) ;) :( :sick: :o :? 8-) :x :shock: :lol: :cry: :evil: :?: :smirk: :!:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is OFF
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Expand view Topic review: Bug with Search Feature

Re: Bug with Search Feature

by JECE » Thu Aug 31, 2023 1:03 pm

Do bot games count as 'joinable' games now? I just checked out the game search page and it doesn't seem to work after filtering to joinable games and sorting by "Time to Next Phase":
https://webdiplomacy.net/gamelistings.php

Re: Bug with Search Feature

by Trigfea63 » Thu Aug 31, 2023 6:35 am

echidna wrote:
Thu Aug 31, 2023 5:40 am
Trigfea63, it you put this into your browser, does it return your games sorted in descending order of GameID?
https://webdiplomacy.net/userprofile.ph ... rID=132702
Yes, it does. But it is only showing my games. I can get that by clicking on my name at the top of the page, or Games >> My Games. I used to be able to query all finished games on Webdip (or all finished Classic games, etc.), and the first screen would be the most recent ones.

Re: Bug with Search Feature

by echidna » Thu Aug 31, 2023 5:40 am

Trigfea63, it you put this into your browser, does it return your games sorted in descending order of GameID?
https://webdiplomacy.net/userprofile.ph ... rID=132702

Re: Bug with Search Feature

by kestasjk » Tue Aug 29, 2023 8:13 pm

Yeah it definitely needs some work, thanks for pointing that out. I could try reverting to the original search system, which was maybe a bit complicated but seemed to work to me, I'll see how it goes. It's not an easy thing to do, but it's doable with time. For now we need to finish in-progress improvements tho, but hopefully can improve this soon.

Re: Bug with Search Feature

by Trigfea63 » Tue Aug 29, 2023 4:49 am

Yes, nice catch. It's interesting, you can actually sort by game name, by phase length, by bet, by pot size, etc. Just not by gameID. For some reason, when you choose gameID as the "Sort by" criterion, it sorts by pot size instead.

I wonder how easy / difficult it would be to fix this?

Re: Bug with Search Feature

by echidna » Tue Aug 29, 2023 4:12 am

Does this work to get you a list of your games in descending game-name order?
https://webdiplomacy.net/gamelistings.p ... ch#results

Bug with Search Feature

by Trigfea63 » Mon Aug 28, 2023 11:52 pm

I can't seem to do a search by any criteria other than Pot Size. If I change the "Sort by" field in my search from Pot Size to GameID, for example, the results still come back by Pot Size. This makes it hard to find recently completed games.

Top