Skip to content

Commit e255154

Browse files
committed
SOME FIXES
Fix missing orderBy on Querying users command
1 parent 3b0af10 commit e255154

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Darryldecode/Backend/Base/Registrar/Registrar.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Registrar {
1313
/**
1414
* the laravel backend version
1515
*/
16-
const VERSION = '1.0.20';
16+
const VERSION = '1.0.21';
1717
const VERSION_NAME = 'Alpha';
1818

1919
/**

src/Darryldecode/Backend/Components/User/Commands/QueryUsersCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ public function handle(User $user, Group $group, Dispatcher $dispatcher, Reposit
149149
$q = $user->with(array_merge(array('groups'),$this->with))
150150
->ofFirstName($this->firstName)
151151
->ofLastName($this->lastName)
152-
->ofEmail($this->email);
152+
->ofEmail($this->email)
153+
->orderBy($this->orderBy, $this->orderSort);
153154

154155
if( ($this->groupId) && ($this->groupId!='') )
155156
{

0 commit comments

Comments
 (0)