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

The dropdown filter "Category:" contains non-existent options #343

Open
ghost opened this issue Sep 22, 2018 · 1 comment
Open

The dropdown filter "Category:" contains non-existent options #343

ghost opened this issue Sep 22, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 22, 2018

Zero maps found for all of these categories:

(Release-2015124)
CG420
Co-Op
Conquest (MHQ)
Coop Campaign
FLAMES
Garbage
Husk
King of the Hill
KotH / light tox
Medieval Warfare balance
Medieval Warfare playtest
ModGame
Nexus Wars
No Limits
Original FS Map
Original TS Map
Tox
WHY
tox tox tox tox tox
who cares

It's the same deal with the "Parsed by:" section. These options should be automatically removed when they no longer yield any content.

@pchote
Copy link
Member

pchote commented Sep 22, 2018

There is hopefully a way to declare a connection between the Map and MapCategory model such that the categories are automatically deleted when there are no more Map references. If not, we can manually code in a check for each category on a deleted map, and remove any that have 0 uses.

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

No branches or pull requests

1 participant