sort language
This commit is contained in:
parent
fc3f9ff6cc
commit
0140a248d6
@ -666,7 +666,7 @@ trait Modules
|
|||||||
|
|
||||||
public function getDataKey($data = [])
|
public function getDataKey($data = [])
|
||||||
{
|
{
|
||||||
$result = 'language.' . app()->getLocale() . '.page.' . $this->getPageNumber($data);
|
$result = 'language.' . language()->getShortCode() . '.page.' . $this->getPageNumber($data);
|
||||||
|
|
||||||
if (isset($data['query']['page'])) {
|
if (isset($data['query']['page'])) {
|
||||||
unset($data['query']['page']);
|
unset($data['query']['page']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user