mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Ensure the table is joined.
This commit is contained in:
parent
25abf02a75
commit
8fb00a69f3
|
@ -18,6 +18,7 @@ class AssetOrLocationArgument extends ArgumentPluginBase {
|
|||
public function query($group_by = FALSE) {
|
||||
|
||||
// Join the log__asset table with a condition to match the asset ID.
|
||||
$this->ensureMyTable();
|
||||
/** @var \Drupal\views\Plugin\views\join\JoinPluginBase $join */
|
||||
$join = Views::pluginManager('join')->createInstance('standard', [
|
||||
'table' => 'log__asset',
|
||||
|
|
Loading…
Reference in a new issue