Problem/Motivation

local_translation_content_views_query_alter() assumes that views query is of type `Sql`, so when working with non-SQL views, this functions throws an error.

Proposed resolution

Change function declaration to match the one from `views.api.php`

Remaining tasks

Write the patch

CommentFileSizeAuthor
#2 3021985.patch1.16 KBvalthebald

Comments

valthebald created an issue. See original summary.

valthebald’s picture

Status: Active » Needs review
StatusFileSize
new1.16 KB
valentine94’s picture

Status: Needs review » Reviewed & tested by the community

Nice catch! Thank you!

matsbla’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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