Page 1 of 1

Bug with Search Feature

Posted: Mon Aug 28, 2023 11:52 pm
by Trigfea63
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.

Re: Bug with Search Feature

Posted: Tue Aug 29, 2023 4:12 am
by echidna
Does this work to get you a list of your games in descending game-name order?
https://webdiplomacy.net/gamelistings.p ... ch#results

Re: Bug with Search Feature

Posted: Tue Aug 29, 2023 4:49 am
by Trigfea63
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

Posted: Tue Aug 29, 2023 8:13 pm
by kestasjk
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

Posted: Thu Aug 31, 2023 5:40 am
by echidna
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

Posted: Thu Aug 31, 2023 6:35 am
by Trigfea63
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

Posted: Thu Aug 31, 2023 1:03 pm
by JECE
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