Skip to content

Conversation

josecelano
Copy link
Member

@josecelano josecelano commented Aug 6, 2024

Going back with the browser button in the torrent list page produces an URL with a param like this "tagFilters=os" when the previous filters only contain sone item.

That can be interpreted as a flat option or an array with one element.

The application was applying the first option and the index-api-lib package expects the tagFilters to be always an array of strings.

Same for categoryFilters.

This only happended using the "back" buttom.

@josecelano josecelano self-assigned this Aug 6, 2024
@josecelano josecelano added the Bug Incorrect Behavior label Aug 6, 2024
@josecelano josecelano linked an issue Aug 6, 2024 that may be closed by this pull request
Going back with the browser button in the torrent list page produces an
URL with a param like this "tagFilters=os" when the previous filters only contain sone item.

That can be interpreted as a flat option or an array with one element.

The application was applying the first option and the index-api-lib
package expects the tagFilters to be always an array of strings.

Same for categoryFilters.

This only happended using the "back" buttom.
@josecelano
Copy link
Member Author

ACK 549ad56

@josecelano josecelano added this to the v3.0.0 milestone Aug 6, 2024
@josecelano josecelano merged commit fdabd00 into torrust:develop Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Incorrect Behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

t.tags.join bug

1 participant