Set persisted ordering back

This commit is contained in:
Bubka 2020-11-02 15:32:09 +01:00
parent 7a3f9b526f
commit 04af792b58

View File

@ -18,8 +18,7 @@ class TwoFAccountController extends Controller
*/
public function index()
{
return response()->json(TwoFAccount::ofGroup(Options::get('activeGroup'))->get()->toArray());
//return response()->json(TwoFAccount::ordered()->get()->toArray());
return response()->json(TwoFAccount::ofGroup(Options::get('activeGroup'))->ordered()->get()->toArray());
}