hook_views_query_alter broken

Created on 24 March 2023, about 2 years ago

Problem/Motivation

The declaration function bookable_calendar_views_query_alter(ViewExecutable $view, QueryPluginBase &$query) has 2 issues:

  • QueryPluginBase requires a use statement, otherwise the class is unknown
  • Objects are always passed as reference, so the &$query should be turned into just $query
πŸ› Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024