Currently we are checking for arg(2) to be = 'context_field'. However, on Taxonomy Term pages, context_field is actually arg(3). This patch reverses the logic and adds an additional or for checking arg(3) to be = 'context_field'.

Comments

alphageekboy’s picture

Attaching Patch

mpotter’s picture

Status: Needs review » Reviewed & tested by the community

Yes, this is definitely a problem and this patch works fine. Let's get this committed.

mpotter’s picture

Status: Reviewed & tested by the community » Fixed

Actually, nevermind. This patch no longer applies as the way this is done was changed with commit a2482b5

Status: Fixed » Closed (fixed)

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