Switch to using category_id instead of slug for open_composer
See further https://thepavilion.io/t/category-is-not-working-in-open-composer-action/3979/2
Dieser Commit ist enthalten in:
Ursprung
6849c368f0
Commit
d339130c34
1 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
|
@ -273,9 +273,7 @@ class CustomWizard::Action
|
||||||
url += "&body=#{encode_query_param(params[:raw])}"
|
url += "&body=#{encode_query_param(params[:raw])}"
|
||||||
|
|
||||||
if category_id = action_category
|
if category_id = action_category
|
||||||
if category = Category.find_by(id: category_id)
|
url += "&category_id=#{category_id}"
|
||||||
url += "&category=#{category.full_slug('/')}"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if tags = action_tags
|
if tags = action_tags
|
||||||
|
|
Laden …
In neuem Issue referenzieren