fbctf icon indicating copy to clipboard operation
fbctf copied to clipboard

Country filters are reversed

Open Excis3 opened this issue 10 years ago • 7 comments

Hi, i have a question regarding the Country management. When you apply a filter as "Disabled", all Enabled country's are shown and visa versa. Is this intended or a bug.

capture

capture

Excis3 avatar May 17 '16 12:05 Excis3

Oops. We'll fix. Thanks for the issue :)

gsingh93 avatar May 17 '16 23:05 gsingh93

I don't think this is a bug. The countries listed in the first image are all disabled. The green "ENABLE" button isn't there to show that country's status, it's there to enable the country.

The same, but opposite, can be said for the second image.

NMEsearch avatar May 18 '16 09:05 NMEsearch

Ah, indeed this could be possible. @gsingh93 is the logic correct? If so you can close this issue.

Excis3 avatar May 18 '16 11:05 Excis3

Ah, you're right.

I think we should changed the button though to say the current state of the country, instead of the action that will be taken when clicking the button. So we would change "Enable" to "Disabled" and "Disable" to "Enabled". This has been confusing me from the beginning :P

Are you alright with that @javuto?

gsingh93 avatar May 18 '16 20:05 gsingh93

Yeah, we can do that. Makes sense.

javuto avatar Jun 07 '16 15:06 javuto

This is already implemented here https://github.com/facebook/fbctf/commit/80b5b2cd367ca32acab67f9070865e97115e9b43

javuto avatar Oct 01 '16 18:10 javuto

Still not fixed and missing button for disable/enable all.

15w34r0n3D4y avatar Oct 03 '17 03:10 15w34r0n3D4y