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

Optional torrent category #133

Merged
merged 2 commits into from
Jun 27, 2023
Merged

Optional torrent category #133

merged 2 commits into from
Jun 27, 2023

Conversation

josecelano
Copy link
Member

Torrent category is now optional, which means the response from the API can contain a null instead of a category o object.

Relates to: torrust/torrust-index#96

The API has changed:

torrust/torrust-index#96

When you delete a category the torrents with that category are not
deleted. Their category changes to "null".

We handle torrents wothout categories.
Tags are defined by the admin. If the admin does not define any, the
user cannot add tags to the torrent. The upload form does not show tags
in that case. This commit does the same in the edition form.
@josecelano josecelano marked this pull request as ready for review June 27, 2023 13:03
@josecelano josecelano merged commit 11a8129 into torrust:develop Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Removal of a category unexpectedly recursively deletes contained torrents.
1 participant