Merge pull request #38298 from kaulith/fix/portal-list-page-cache

fix: prevent portal list pages from being cached
This commit is contained in:
Ejaaz Khan 2026-03-28 19:46:54 +05:30 committed by GitHub
commit 9164d5acae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,5 +26,6 @@ class ListPage(TemplatePage):
def render(self):
frappe.form_dict.doctype = self.path
frappe.local.no_cache = 1
self.set_standard_path("portal")
return super().render()