mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 15:09:38 +08:00

`TopicQueryParams` allows for `match_all_tags` to be passed as a query parameter. `TagsController` forces the value to be true. This change allows a value to be passed, and only sets it to true if no value has been set. It then uses `ActiveModel::Type::Boolean.new.cast` to compare the value.