2
0
mirror of https://github.com/frappe/frappe.git synced 2024-06-13 07:33:07 +00:00

fix: Ignore link doctype in comments (#26484)

This commit is contained in:
Ankush Menat 2024-05-20 11:25:03 +05:30 committed by GitHub
parent ea873fd8f7
commit 910d4a7e08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ def get_feed(start, page_length):
`tabActivity Log`
UNION
select name, owner, modified, creation, '0', comment_type,
reference_doctype, reference_name, link_doctype, link_name, '',
reference_doctype, reference_name, '' as link_doctype, '' as link_name, '',
'Comment', '', content
from
`tabComment`