Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is already check, but it only for single node, for example WHERE n.nid='123'
// When loading specific nodes, language conditions shouldn't apply.
if (preg_match("/WHERE.*\s$primary_table.nid\s*=\s*(\d|%d)/", $query)) return;
Add check for multiple nodes, WHERE n.nid in ('123', '456')
Comments
Comment #1
matulis CreditAttribution: matulis commentedShould be smth like
Comment #2
Jose Reyero CreditAttribution: Jose Reyero commentedLet's call this a bug.
Comment #3
joseph.olstad