Issue #1757302 by tim.plunkett: Clean up the NcsLastCommentName sort handler.
parent
41a6f641d1
commit
131ea0f6ab
|
@ -17,7 +17,7 @@ use Drupal\Core\Annotation\Plugin;
|
||||||
* @ingroup views_sort_handlers
|
* @ingroup views_sort_handlers
|
||||||
*
|
*
|
||||||
* @Plugin(
|
* @Plugin(
|
||||||
* id = "ncs_last_comment_name",
|
* id = "comment_ncs_last_comment_name",
|
||||||
* module = "comment"
|
* module = "comment"
|
||||||
* )
|
* )
|
||||||
*/
|
*/
|
||||||
|
@ -25,7 +25,6 @@ class NcsLastCommentName extends SortPluginBase {
|
||||||
|
|
||||||
function query() {
|
function query() {
|
||||||
$this->ensure_my_table();
|
$this->ensure_my_table();
|
||||||
$join = new Join();
|
|
||||||
$join = views_get_join();
|
$join = views_get_join();
|
||||||
$join->construct('users', $this->table_alias, 'last_comment_uid', 'uid');
|
$join->construct('users', $this->table_alias, 'last_comment_uid', 'uid');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue