Fix broken "Link to alias" / "Link to implication" forum links.
/tag_implications was changed to filter out inactive implications by default when the `status` param wasn't given. This broke "Link to implication":/tag_implications?search[id]=NNN links inside pending implication requests in forum posts. These links now return an empty search instead of the pending implication. Hiding inactive aliases/implications by default also changed the API behavior.
This commit is contained in:
@@ -104,8 +104,6 @@ class TagRelationship < ApplicationRecord
|
||||
|
||||
if params[:status].present?
|
||||
q = q.status_matches(params[:status])
|
||||
else
|
||||
q = q.active
|
||||
end
|
||||
|
||||
if params[:category].present?
|
||||
|
||||
Reference in New Issue
Block a user