protected static function getParams()
    {
        $adapter  = app(FilterAdapter::class)->add(ActivityTypeWidgetFilter::class);
        $request  = app('request');
        $priority = $request->get('priority');
        $search   = $request->get('search');
        $logs     = self::filter($priority, $search);
        return [
            'select_url'        => self::getBaseUrl(['page' => 1, 'per_page' => self::perPage, 'search' => '']),
            'search_url'        => self::getBaseUrl(['page' => 1, 'per_page' => self::perPage, 'priority' => null]),
            'url'               => self::getBaseUrl(),
            'selected_priority' => $priority,
            'search'            => $search,
            'types'             => app(LogTypes::class)->all(),
            'logs'              => $logs,
            'pagination'        => $logs->links('antares/foundation::layouts.antares.partials.pagination._pagination'),
            'priorites'         => app(LogPriorities::class)->all(),
            'filters'           => $adapter->getFilters('antares/logger::admin.widgets.log_filter')
        ];
    }
protected static function getParams()
    {
        $adapter  = app(FilterAdapter::class)->add(ActivityTypeWidgetFilter::class);
        $request  = app('request');
        $priority = $request->get('priority');
        $search   = $request->get('search');
        $logs     = self::filter($priority, $search);
        return [
            'select_url'        => self::getBaseUrl(['page' => 1, 'per_page' => self::perPage, 'search' => '']),
            'search_url'        => self::getBaseUrl(['page' => 1, 'per_page' => self::perPage, 'priority' => null]),
            'url'               => self::getBaseUrl(),
            'selected_priority' => $priority,
            'search'            => $search,
            'types'             => app(LogTypes::class)->all(),
            'logs'              => $logs,
            'pagination'        => $logs->links('antares/foundation::layouts.antares.partials.pagination._pagination'),
            'priorites'         => app(LogPriorities::class)->all(),
            'filters'           => $adapter->getFilters('antares/logger::admin.widgets.log_filter')
        ];
    }
protected static function getParams ( ) { $ adapter = app ( FilterAdapter :: class ) -> add ( ActivityTypeWidgetFilter :: class ) ; $ request = app ( 'request' ) ; $ priority = $ request -> get ( 'priority' ) ; $ search = $ request -> get ( 'search' ) ; $ logs = self :: filter ( $ priority , $ search ) ; return [ 'select_url' => self :: getBaseUrl ( [ 'page' => 1 , 'per_page' => self :: perPage , 'search' => '' ] ) , 'search_url' => self :: getBaseUrl ( [ 'page' => 1 , 'per_page' => self :: perPage , 'priority' => null ] ) , 'url' => self :: getBaseUrl ( ) , 'selected_priority' => $ priority , 'search' => $ search , 'types' => app ( LogTypes :: class ) -> all ( ) , 'logs' => $ logs , 'pagination' => $ logs -> links ( 'antares/foundation::layouts.antares.partials.pagination._pagination' ) , 'priorites' => app ( LogPriorities :: class ) -> all ( ) , 'filters' => $ adapter -> getFilters ( 'antares/logger::admin.widgets.log_filter' ) ] ; }
Widget params getter

@return array
Widget params getter