Problem/Motivation

Currently the module is checking the start path of the url being accessed for "/admin" to determine if the page you're hitting is an admin page. That check only matches some of the pages though, as it ignores /node/*/edit, /batch, and other 'admin' pages.

Proposed resolution

Replace the path check with the AdminContext isAdminRoute check, which handles that logic for us and is much more comprehensive. That's what this patch does.

CommentFileSizeAuthor
gtm_use_isadminroute.patch1.9 KBjacobbell84

Comments

jacobbell84 created an issue. See original summary.

apolitsin’s picture

Thanks!
fixed in 8.x-1.4 #3164312

apolitsin’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

jacobbell84’s picture