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

Cannot edit torrent categories after uploading it #117

Closed
josecelano opened this issue Jun 23, 2023 · 3 comments
Closed

Cannot edit torrent categories after uploading it #117

josecelano opened this issue Jun 23, 2023 · 3 comments

Comments

@josecelano
Copy link
Member

It's not possible to change the torrent category after uploading it.

image

It seems the code for categories in the form is commented here:

<!--      <template v-if="categories?.length > 0">-->
<!--        <div>-->
<!--          <label for="category" class="px-2">Category</label>-->
<!--          <select id="category" v-model="form.category" class="mt-1">-->
<!--            <template v-for="option in categories">-->
<!--              <option :value="option.name">-->
<!--                {{ option.name }}-->
<!--              </option>-->
<!--            </template>-->
<!--          </select>-->
<!--        </div>-->
<!--      </template>-->
@josecelano
Copy link
Member Author

It's possible to uncomment the code for the category, but it does not work. It was commented on because the endpoint for updating the torrent info does not allow changing the category.

We have to implement first that on the API.

josecelano added a commit that referenced this issue Jun 26, 2023
cb0456a fix: [#117] allow editing torrent category (Jose Celano)

Pull request description:

  This depends on a backend issue to work:

  torrust/torrust-index#216

Top commit has no ACKs.

Tree-SHA512: 7121b33c2d473c6e3a3151a95b3d1beab03ecfe879a3698b39ef5c6dd098fdb36e333df5984087022836d50fd7249bf8e28cc6d8a89667a8279540fb467874e5
@josecelano
Copy link
Member Author

It has been fixed in this report in this commit, but it depends on a backend issue to work: torrust/torrust-index#216.

Check it out once the API change is done.

@josecelano
Copy link
Member Author

It was fixed on the backend.

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

No branches or pull requests

1 participant