default base page sort contents by created date
This commit is contained in:
parent
01e0bbfc09
commit
ed071a0472
|
@ -126,7 +126,7 @@ class Base extends ControllerBase {
|
||||||
->condition('langcode', $lang)
|
->condition('langcode', $lang)
|
||||||
->range($this->offset, $this->limit)
|
->range($this->offset, $this->limit)
|
||||||
->accessCheck(TRUE)
|
->accessCheck(TRUE)
|
||||||
->sort('changed', 'DESC');
|
->sort('created', 'DESC');
|
||||||
// ->condition('field_example', 'test_value')
|
// ->condition('field_example', 'test_value')
|
||||||
$this->results = $this->query->execute();
|
$this->results = $this->query->execute();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue