Issue #2002280 by elvis2, connork: Rename Views method add_signature() to addSignature().
parent
20d028f50c
commit
b880d8f4a9
|
@ -79,7 +79,7 @@ abstract class QueryPluginBase extends PluginBase implements QueryInterface {
|
||||||
* @param view $view
|
* @param view $view
|
||||||
* The view which is executed.
|
* The view which is executed.
|
||||||
*/
|
*/
|
||||||
function add_signature(ViewExecutable $view) { }
|
public function addSignature(ViewExecutable $view) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get aggregation info for group by queries.
|
* Get aggregation info for group by queries.
|
||||||
|
|
|
@ -1643,7 +1643,7 @@ class Sql extends QueryPluginBase {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function add_signature(ViewExecutable $view) {
|
public function addSignature(ViewExecutable $view) {
|
||||||
$view->query->add_field(NULL, "'" . $view->storage->id() . ':' . $view->current_display . "'", 'view_name');
|
$view->query->add_field(NULL, "'" . $view->storage->id() . ':' . $view->current_display . "'", 'view_name');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1071,7 +1071,7 @@ class ViewExecutable {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config('views.settings')->get('sql_signature')) {
|
if (config('views.settings')->get('sql_signature')) {
|
||||||
$this->query->add_signature($this);
|
$this->query->addSignature($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Let modules modify the query just prior to finalizing it.
|
// Let modules modify the query just prior to finalizing it.
|
||||||
|
|
Loading…
Reference in New Issue