Skip to content

Clear cat uses the case's own Uncategorized code - #317

Merged
abrignoni merged 1 commit into
mainfrom
fix/clear-cat-region
Oct 27, 2026
Merged

abrignoni merged 1 commit into
mainfrom
fix/clear-cat-region

Conversation

@abrignoni

@abrignoni abrignoni commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

The selection bar's Clear cat button always sent code 5, so outside the US it put files in the wrong category.

  • In a UK case it filed the selection as Extreme Pornography. It now sends the case's own Uncategorized code (UK 0, Denmark 7, US 5).
  • Gallery tiles show the region's own name for uncategorized instead of always "Uncategorized".
  • The number keys were already right and are unchanged.
  • Clicked in UK and Denmark cases; in a US case the button still sends 5. The new test fails on the old code.

🤖 Generated with Claude Code

The selection bar's Clear cat button was hard-coded to code 5, which is
Uncategorized only in a US case. In a UK case it filed the selection as
Extreme Pornography (UK code 5); in a Denmark case 5 is no category. The
button now takes the case's Uncategorized code and its key, if the region
gives it a digit, when the categories load.

Gallery tiles also showed "Uncategorized" for every region; they now show
the region's own name for it (Uncategorised, NEW, Inconnu).

The 0-9 keys were already right and are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni enabled auto-merge October 27, 2026 01:21
@abrignoni
abrignoni merged commit dfb8a80 into main Oct 27, 2026
8 checks passed
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 this pull request may close these issues.

1 participant