sort language

This commit is contained in:
Cüneyt Şentürk 2020-06-18 17:33:55 +03:00
parent fc3f9ff6cc
commit 0140a248d6

View File

@ -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']);