Merge pull request #16053 from bhavesh95863/patch-1

fix: ignore link validation for sort workspace
This commit is contained in:
mergify[bot] 2022-03-11 05:55:05 +00:00 committed by GitHub
commit 878f06dbb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,6 +277,7 @@ def sort_page(workspace_pages, pages):
doc = frappe.get_doc('Workspace', page.name)
doc.sequence_id = seq + 1
doc.parent_page = d.get('parent_page') or ""
doc.flags.ignore_links = True
doc.save(ignore_permissions=True)
break