Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IFDB Recommends will recommend buried games #1281

Open
dfabulich opened this issue Feb 10, 2025 · 0 comments · May be fixed by #1282
Open

IFDB Recommends will recommend buried games #1281

dfabulich opened this issue Feb 10, 2025 · 0 comments · May be fixed by #1282

Comments

@dfabulich
Copy link
Collaborator

In a dev environment, run this SQL query:

insert into unwishlists (gameid, userid)
select games.id as gameid, '0000000000000000' as userid
from games where flags != 1;

When we bury a game we set games.flags to 1, FLAG_SHOULD_HIDE in util.php. This query marks all games in the DB as "Not Interested" except for the buried games. (I encountered this organically as I was impersonating a user.)

Login as ifdbadmin and view the "IFDB Recommends" section of the home page.

Actual: IFDB Recommends will recommend buried games.
Expected: IFDB Recommends should never recommend buried games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant