inactive_flag column that is a Y or N value.404. I'm not sure how I can remove the global scope on the view page of the account?->where('inactive_flag', '!=', 'Y') which works, but then my filter doesn't work to include inactive because if I use either the query or baseQuery methods, it still results in a query that does this: where inactive_flag != 'Y' and inactive_flag = 'Y' which obviously no accounts will match.