Something similar was taking place in drupal 7.
I have hook_views_query_alter in MODULENAME.views.inc file in the same folder as module file. I found out, that query handler is class views_plugin_query_default. Within that class:
function alter(&$view) {//dpm($view); foreach (module_implements('views_query_alter') as $module) {//dpm($module); $function = $module . '_views_query_alter'; $function($view, $this); } }
Is called, but can't find any module that implements hook...
Of course I cleared all the caches, even truncated tables cache_views and cache_views_data, all in vain.
AFAIR in drupal 7 similar problem solved itself automagically after some time, and hook_views_query_alter started to work. So maybe there is something else cached somewhere? Maybe .inc file is not being seen by backdrop? Access rights are as usual...
Recent comments
Thank you @Meaghan1 - all of those were valid points but I had them correctly set. My remaining issue relates to the path to the downloadable file, being the easily guessable example I...
Ubercart and downloadable file product
Hi Sudipto, this error usually means CiviCRM isn’t initializing properly before a dependent module (like CiviMember Roles Sync) tries to call its functions. After upgrading, verify that the...
Facing an error after upgrading Civicrm version from 5.78.3 to 6.5.0
Hi Martin, it sounds like you’ve set things up correctly, but a couple of common issues might be preventing the file from showing. First, ensure the Ubercart File Downloads module is fully...
Ubercart and downloadable file product
It sounds like a small UI rendering or CSS conflict. The leftover description help block likely isn’t being hidden when the “Add block” row is set to display:none. Check if the help block has...
Add blocks filtering problem
Thank you @kai46. All of those things were as expected, except the File download didn't have the matching SKU. Once corrected, the file download works. However, the path to the download is...
Ubercart and downloadable file product