Earl,

when i enable the "Exposed filters as a block" option, the form is processed two times: when the views is called and when hook_block is called (note that hook_block creates another instance of all views to check if they have the option enabled).

Its costy. And worse: it doesnt call hook_views_pre_view()!

This patch creates a small function that caches the form once its created.

regards,

massa

CommentFileSizeAuthor
#1 patch.txt1.75 KBbrmassa

Comments

brmassa’s picture

StatusFileSize
new1.75 KB

ops... forgot the file

merlinofchaos’s picture

Status: Needs review » Fixed

Wow, in my head this patch had already gone in. Fixed in both 2.x and 3.x branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.