src/Http/Api/EntityListController.php
public function update($entityKey)
    {
        sharp_check_ability("update", $entityKey);

        $list = $this->getListInstance($entityKey);
        $list->buildListConfig();

        $list->reorderHandler()->reorder(
            request("instances")
        );

        return response()->json([
            "ok" => true
        ]);
    }
public function update($entityKey)
    {
        sharp_check_ability("update", $entityKey);

        $list = $this->getListInstance($entityKey);
        $list->buildListConfig();

        $list->reorderHandler()->reorder(
            request("instances")
        );

        return response()->json([
            "ok" => true
        ]);
    }
public function update ( $ entityKey ) { sharp_check_ability ( "update" , $ entityKey ) ; $ list = $ this -> getListInstance ( $ entityKey ) ; $ list -> buildListConfig ( ) ; $ list -> reorderHandler ( ) -> reorder ( request ( "instances" ) ) ; return response ( ) -> json ( [ "ok" => true ] ) ; }
Call for reorder instances.

@param string $entityKey
@return \Illuminate\Http\JsonResponse
@throws \Code16\Sharp\Exceptions\Auth\SharpAuthorizationException
@throws \Code16\Sharp\Exceptions\SharpInvalidEntityKeyException
Call for reorder instances .